diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-06-02 13:13:59 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-06-06 19:43:42 +0200 |
commit | 2e886e9f452e95a4761a3d85540ba561538b4438 (patch) | |
tree | 86cab682db79fdab45d7688aa1ff40b95f6cf0e3 /src/node_internals.h | |
parent | 5c4d2e60b500a3d093de54b76b17b8f4c52f5da4 (diff) | |
download | android-node-v8-2e886e9f452e95a4761a3d85540ba561538b4438.tar.gz android-node-v8-2e886e9f452e95a4761a3d85540ba561538b4438.tar.bz2 android-node-v8-2e886e9f452e95a4761a3d85540ba561538b4438.zip |
src: make handle onclose property a Symbol
This makes the property “more” hidden when exposing a `HandleWrap`
as public API, e.g. for upcoming `MessagePort`s.
PR-URL: https://github.com/nodejs/node/pull/20876
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r-- | src/node_internals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h index 3014a0e5f7..7bf4eaf1ec 100644 --- a/src/node_internals.h +++ b/src/node_internals.h @@ -125,6 +125,7 @@ struct sockaddr; V(stream_pipe) \ V(stream_wrap) \ V(string_decoder) \ + V(symbols) \ V(tcp_wrap) \ V(timer_wrap) \ V(trace_events) \ |