diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-10 00:08:48 +0300 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2019-04-13 12:24:51 +0300 |
commit | dfd7e994258a36f3941c74295a8c037cb4850418 (patch) | |
tree | 03eaa022a99159912c97773a1b41952f3ee404b1 /src/node_union_bytes.h | |
parent | 9b6b567bc4dd8f40bad12528eebf12dac8a8027f (diff) |
src: make a Environment-independent proxy class for NativeModuleLoader
This patch splits `NativeModuleLoader` into two parts - a singleton
that only relies on v8 and `node::Mutex` and a proxy class for
the singleton (`NativeModuleEnv`) that provides limited access to
the singleton as well as C++ bindings for the Node.js binary.
`NativeModuleLoader` is then no longer aware of `Environment`.
PR-URL: https://github.com/nodejs/node/pull/27160
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'src/node_union_bytes.h')
-rw-r--r-- | src/node_union_bytes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_union_bytes.h b/src/node_union_bytes.h index 0034f184cc3..996d9880a48 100644 --- a/src/node_union_bytes.h +++ b/src/node_union_bytes.h @@ -7,7 +7,6 @@ // A union of const uint8_t* or const uint16_t* data that can be // turned into external v8::String when given an isolate. -#include "env.h" #include "v8.h" namespace node { |