diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-01-20 13:33:16 -0800 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-02-05 13:30:56 -0800 |
commit | 4a9af3fecb4baf677f265e2e6e34a674a53810a6 (patch) | |
tree | 3e96cf57bc7f9d47ebe7a177acc7a2d18dc13bdd /src/fs_event_wrap.cc | |
parent | c9abb59638bc4bc64176ded80ebdc05d066ad0db (diff) | |
download | node-new-4a9af3fecb4baf677f265e2e6e34a674a53810a6.tar.gz |
async_wrap: add provider types/pass to constructor
These will be used to allow users to filter for which types of calls
they wish their callbacks to run.
Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
Diffstat (limited to 'src/fs_event_wrap.cc')
-rw-r--r-- | src/fs_event_wrap.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc index 3a3559cf8a..28b20ac47c 100644 --- a/src/fs_event_wrap.cc +++ b/src/fs_event_wrap.cc @@ -65,7 +65,10 @@ class FSEventWrap: public HandleWrap { FSEventWrap::FSEventWrap(Environment* env, Handle<Object> object) - : HandleWrap(env, object, reinterpret_cast<uv_handle_t*>(&handle_)) { + : HandleWrap(env, + object, + reinterpret_cast<uv_handle_t*>(&handle_), + AsyncWrap::PROVIDER_FSEVENTWRAP) { initialized_ = false; } |