diff options
author | Keith M Wesolowski <wesolows@foobazco.org> | 2013-12-17 04:00:44 +0400 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-28 03:52:50 +0400 |
commit | 76b98462e589a69d9fd48ccb9fb5f6e96b539715 (patch) | |
tree | 7e14eb4c89cdb4a913ca6f9976cf6b62da8b59df /src/uv.cc | |
parent | f4c8020d1068ffba57458b327c62b61b1f29ec63 (diff) |
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.
Diffstat (limited to 'src/uv.cc')
-rw-r--r-- | src/uv.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<Object> target, } // namespace uv } // namespace node -NODE_MODULE_CONTEXT_AWARE(node_uv, node::uv::Initialize) +NODE_MODULE_CONTEXT_AWARE_BUILTIN(uv, node::uv::Initialize) |