2019-07-16 17:23:04 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: deepak1556 <hop2deep@gmail.com>
|
|
|
|
Date: Sat, 6 Jan 2018 18:28:10 +0530
|
|
|
|
Subject: fix: expose InternalCallbackScope
|
|
|
|
|
2020-06-17 22:57:12 +00:00
|
|
|
This commit exposes InternalCallbackScope in order to allow us access to its internal flags.
|
2019-07-16 17:23:04 +00:00
|
|
|
|
|
|
|
diff --git a/src/node_internals.h b/src/node_internals.h
|
2020-10-19 20:28:28 +00:00
|
|
|
index aa7180e18544cab4004a0ef87ba230bd2e732d28..9a5b2165d5648045ea18d66b0c15d29b4ea1cced 100644
|
2019-07-16 17:23:04 +00:00
|
|
|
--- a/src/node_internals.h
|
|
|
|
+++ b/src/node_internals.h
|
2020-10-19 20:28:28 +00:00
|
|
|
@@ -200,7 +200,7 @@ v8::MaybeLocal<v8::Value> InternalMakeCallback(
|
2019-07-16 17:23:04 +00:00
|
|
|
v8::Local<v8::Value> argv[],
|
|
|
|
async_context asyncContext);
|
|
|
|
|
|
|
|
-class InternalCallbackScope {
|
|
|
|
+class NODE_EXTERN InternalCallbackScope {
|
|
|
|
public:
|
2020-02-24 21:02:04 +00:00
|
|
|
enum Flags {
|
|
|
|
kNoFlags = 0,
|