summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 7602d14ed7..f1e769a182 100644
--- a/src/node.h
+++ b/src/node.h
@@ -328,6 +328,10 @@ NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,
NODE_EXTERN v8::Isolate* NewIsolate(ArrayBufferAllocator* allocator,
struct uv_loop_s* event_loop,
MultiIsolatePlatform* platform);
+NODE_EXTERN v8::Isolate* NewIsolate(
+ std::shared_ptr<ArrayBufferAllocator> allocator,
+ struct uv_loop_s* event_loop,
+ MultiIsolatePlatform* platform);
// Creates a new context with Node.js-specific tweaks.
NODE_EXTERN v8::Local<v8::Context> NewContext(