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:21:25 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2021-09-06 13:12:55 +0300
commit1c4df352b77514e93a46fb27e996755d45a0b530 (patch)
tree98982f8d5d78a17608277d840073cf3dd8c9a2b9 /src/pipe_wrap.h
parent6ddcdc3171f25cd18f53f25ee44d9fb21ea207f9 (diff)
src: register external references of PipeWrap 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/pipe_wrap.h')
-rw-r--r--src/pipe_wrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pipe_wrap.h b/src/pipe_wrap.h
index 53008b0d165..c0722b63d85 100644
--- a/src/pipe_wrap.h
+++ b/src/pipe_wrap.h
@@ -29,6 +29,7 @@
namespace node {
+class ExternalReferenceRegistry;
class Environment;
class PipeWrap : public ConnectionWrap<PipeWrap, uv_pipe_t> {
@@ -47,6 +48,7 @@ class PipeWrap : public ConnectionWrap<PipeWrap, uv_pipe_t> {
v8::Local<v8::Context> context,
void* priv);
+ static void RegisterExternalReferences(ExternalReferenceRegistry* registry);
SET_NO_MEMORY_INFO()
SET_MEMORY_INFO_NAME(PipeWrap)
SET_SELF_SIZE(PipeWrap)