summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@foobazco.org>2013-12-17 00:00:44 +0000
committerTimothy J Fontaine <tjfontaine@gmail.com>2014-01-27 15:52:50 -0800
commit76b98462e589a69d9fd48ccb9fb5f6e96b539715 (patch)
tree7e14eb4c89cdb4a913ca6f9976cf6b62da8b59df /src/fs_event_wrap.cc
parentf4c8020d1068ffba57458b327c62b61b1f29ec63 (diff)
downloadnode-new-76b98462e589a69d9fd48ccb9fb5f6e96b539715.tar.gz
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/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index 79538b747b..3a3559cf8a 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -193,4 +193,4 @@ void FSEventWrap::Close(const FunctionCallbackInfo<Value>& args) {
} // namespace node
-NODE_MODULE_CONTEXT_AWARE(node_fs_event_wrap, node::FSEventWrap::Initialize)
+NODE_MODULE_CONTEXT_AWARE_BUILTIN(fs_event_wrap, node::FSEventWrap::Initialize)