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:
authorJoyee Cheung <joyeec9h3@gmail.com>2021-08-31 18:20:36 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2021-09-06 13:12:51 +0300
commit995f945ee227a22ad0b6b10cbb6aab9fdf3c0258 (patch)
tree96a5aedb79fe85897900c3d58a381f71e93e3a3d /src/tcp_wrap.h
parent3ec38f78604828f92bfd0a0887faf9d7c3e4bf27 (diff)
src: register external references of TCPWrap for snapshot
PR-URL: https://github.com/nodejs/node/pull/39961 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'src/tcp_wrap.h')
-rw-r--r--src/tcp_wrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tcp_wrap.h b/src/tcp_wrap.h
index 0099eedb4bc..3abf4ded19f 100644
--- a/src/tcp_wrap.h
+++ b/src/tcp_wrap.h
@@ -29,6 +29,7 @@
namespace node {
+class ExternalReferenceRegistry;
class Environment;
class TCPWrap : public ConnectionWrap<TCPWrap, uv_tcp_t> {
@@ -45,6 +46,7 @@ class TCPWrap : public ConnectionWrap<TCPWrap, uv_tcp_t> {
v8::Local<v8::Value> unused,
v8::Local<v8::Context> context,
void* priv);
+ static void RegisterExternalReferences(ExternalReferenceRegistry* registry);
SET_NO_MEMORY_INFO()
SET_SELF_SIZE(TCPWrap)