diff --git a/src/node.h b/src/node.h index 54136ec4987dc1..2a6f5b59ce56a7 100644 --- a/src/node.h +++ b/src/node.h @@ -100,15 +100,16 @@ // Forward-declare libuv loop struct uv_loop_s; -// Forward-declare TracingController, used by CreatePlatform. -namespace v8 { -class TracingController; -} - // Forward-declare these functions now to stop MSVS from becoming // terminally confused when it's done in node_internals.h namespace node { +namespace tracing { + +class TracingController; + +} + NODE_EXTERN v8::Local ErrnoException(v8::Isolate* isolate, int errorno, const char* syscall = nullptr, @@ -298,7 +299,8 @@ NODE_EXTERN MultiIsolatePlatform* GetMainThreadMultiIsolatePlatform(); NODE_EXTERN MultiIsolatePlatform* CreatePlatform( int thread_pool_size, - v8::TracingController* tracing_controller); + node::tracing::TracingController* tracing_controller); +MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size); NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform); NODE_EXTERN void EmitBeforeExit(Environment* env);