Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-08-21 09:54:02 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-08-24 10:10:38 +0300
commit57d98bc7323b4f72631074cd68a9306f33066bb8 (patch)
tree47c0f5cd1c8002ec29f6255aad5684265df8d450 /src/tcp_wrap.cc
parent56e331a2a272cc36ed7c34be779de21fd5da3af7 (diff)
src: move process.binding('tcp_wrap') to internal
This commit makes the tcp_wrap builtin an internal builtin, and changes usage of the builtin from using process.binding('tcp_wrap') to use internalBinding instead. Refs: https://github.com/nodejs/node/issues/22160 PR-URL: https://github.com/nodejs/node/pull/22432 Refs: https://github.com/nodejs/node/issues/22160 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'src/tcp_wrap.cc')
-rw-r--r--src/tcp_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_wrap.cc b/src/tcp_wrap.cc
index e817087d971..ebc82f46683 100644
--- a/src/tcp_wrap.cc
+++ b/src/tcp_wrap.cc
@@ -375,4 +375,4 @@ Local<Object> AddressToJS(Environment* env,
} // namespace node
-NODE_BUILTIN_MODULE_CONTEXT_AWARE(tcp_wrap, node::TCPWrap::Initialize)
+NODE_MODULE_CONTEXT_AWARE_INTERNAL(tcp_wrap, node::TCPWrap::Initialize)