From 8807294dfcee065529b66898b90230b36486c1f2 Mon Sep 17 00:00:00 2001 From: Jichan Date: Mon, 6 Jan 2020 16:12:35 +0900 Subject: [PATCH] src: export InitializeV8Platform function export InitializeV8Platform to allow use node as a shared library. --- src/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.h b/src/node.h index d43693c03389ef..a34bdfb1a9eaed 100644 --- a/src/node.h +++ b/src/node.h @@ -401,7 +401,7 @@ NODE_EXTERN MultiIsolatePlatform* GetMainThreadMultiIsolatePlatform(); NODE_EXTERN MultiIsolatePlatform* CreatePlatform( int thread_pool_size, node::tracing::TracingController* tracing_controller); -MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size); +NODE_EXTERN MultiIsolatePlatform* InitializeV8Platform(int thread_pool_size); NODE_EXTERN void FreePlatform(MultiIsolatePlatform* platform); NODE_EXTERN void EmitBeforeExit(Environment* env);