diff options
Diffstat (limited to 'src/node_zlib.cc')
-rw-r--r-- | src/node_zlib.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node_zlib.cc b/src/node_zlib.cc index f3da76c37d1..16372bd8118 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -550,7 +550,8 @@ class ZCtx : public AsyncWrap { void InitZlib(Handle<Object> target, Handle<Value> unused, - Handle<Context> context) { + Handle<Context> context, + void* priv) { Local<FunctionTemplate> z = FunctionTemplate::New(ZCtx::New); z->InstanceTemplate()->SetInternalFieldCount(1); @@ -608,4 +609,4 @@ void InitZlib(Handle<Object> target, } // namespace node -NODE_MODULE_CONTEXT_AWARE(node_zlib, node::InitZlib) +NODE_MODULE_CONTEXT_AWARE_BUILTIN(zlib, node::InitZlib) |