summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorAnatoli Papirovski <apapirovski@mac.com>2018-01-19 15:42:59 -0500
committerAnatoli Papirovski <apapirovski@mac.com>2018-01-29 11:37:29 -0500
commiteeede3b19c8bdb78605764eec75bea327c9014ff (patch)
treef57709e12c4e7e9562951bb07042f0023925a441 /src/node_internals.h
parente4743ab61929bcccc729165e74eb6d6b3ef25135 (diff)
downloadandroid-node-v8-eeede3b19c8bdb78605764eec75bea327c9014ff.tar.gz
android-node-v8-eeede3b19c8bdb78605764eec75bea327c9014ff.tar.bz2
android-node-v8-eeede3b19c8bdb78605764eec75bea327c9014ff.zip
domain: further abstract usage in C++
Move the majority of C++ domain-related code into JS land by introducing a top level domain callback which handles entering & exiting the domain. Move the rest of the domain necessities into their own file that creates an internal binding, to avoid exposing domain-related code on the process object. Modify an existing test slightly to better test domain-related code. PR-URL: https://github.com/nodejs/node/pull/18291 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index 0f693527cc..0001d15172 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -104,6 +104,7 @@ struct sockaddr;
V(cares_wrap) \
V(config) \
V(contextify) \
+ V(domain) \
V(fs) \
V(fs_event_wrap) \
V(http2) \