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-02-08 18:19:37 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2021-02-19 14:08:07 +0300
commit445108dc30968ae2adc1d027fb7c57db4d7b8372 (patch)
treec594cdff5b57a5f589937751b56f037ef50f4fc8 /src/stream_wrap.h
parent8aa9b772f4892ab44e74d3e7df0733408b7d2bc8 (diff)
bootstrap: include v8 module into the builtin snapshot
PR-URL: https://github.com/nodejs/node/pull/36943 Fixes: https://github.com/nodejs/node/issues/35930 Refs: https://github.com/nodejs/node/issues/35711 Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 816f557ee6c..3016e8d89cd 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -31,6 +31,7 @@
namespace node {
class Environment;
+class ExternalReferenceRegistry;
class LibuvStreamWrap : public HandleWrap, public StreamBase {
public:
@@ -38,7 +39,7 @@ class LibuvStreamWrap : public HandleWrap, public StreamBase {
v8::Local<v8::Value> unused,
v8::Local<v8::Context> context,
void* priv);
-
+ static void RegisterExternalReferences(ExternalReferenceRegistry* registry);
int GetFD() override;
bool IsAlive() override;
bool IsClosing() override;