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:02 +0300
committerJoyee Cheung <joyeec9h3@gmail.com>2021-09-06 13:12:53 +0300
commit6ddcdc3171f25cd18f53f25ee44d9fb21ea207f9 (patch)
tree0e30830301dceb7bf30548c489d478a06a43f02e /src/tty_wrap.h
parent995f945ee227a22ad0b6b10cbb6aab9fdf3c0258 (diff)
src: register external references of TTYWrap 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/tty_wrap.h')
-rw-r--r--src/tty_wrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tty_wrap.h b/src/tty_wrap.h
index 84e1fbb74d3..629f187d747 100644
--- a/src/tty_wrap.h
+++ b/src/tty_wrap.h
@@ -30,6 +30,7 @@
namespace node {
class Environment;
+class ExternalReferenceRegistry;
class TTYWrap : public LibuvStreamWrap {
public:
@@ -37,6 +38,7 @@ class TTYWrap : public LibuvStreamWrap {
v8::Local<v8::Value> unused,
v8::Local<v8::Context> context,
void* priv);
+ static void RegisterExternalReferences(ExternalReferenceRegistry* registry);
SET_NO_MEMORY_INFO()
SET_MEMORY_INFO_NAME(TTYWrap)