From 76b98462e589a69d9fd48ccb9fb5f6e96b539715 Mon Sep 17 00:00:00 2001 From: Keith M Wesolowski Date: Tue, 17 Dec 2013 00:00:44 +0000 Subject: node: register modules from DSO constructors Built-in modules should be automatically registered, replacing the static module list. Add-on modules should also be automatically registered via DSO constructors. This improves flexibility in adding built-in modules and is also a prerequisite to pure-C addon modules. --- src/uv.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/uv.cc') diff --git a/src/uv.cc b/src/uv.cc index 988fc702993..32d6a86845e 100644 --- a/src/uv.cc +++ b/src/uv.cc @@ -62,4 +62,4 @@ void Initialize(Handle target, } // namespace uv } // namespace node -NODE_MODULE_CONTEXT_AWARE(node_uv, node::uv::Initialize) +NODE_MODULE_CONTEXT_AWARE_BUILTIN(uv, node::uv::Initialize) -- cgit v1.2.3