summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index b6cd628086..68c0b1f753 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -171,6 +171,10 @@ struct sockaddr;
namespace node {
+namespace native_module {
+class NativeModuleLoader;
+}
+
extern Mutex process_mutex;
extern Mutex environ_mutex;
@@ -179,6 +183,7 @@ extern bool v8_initialized;
extern Mutex per_process_opts_mutex;
extern std::shared_ptr<PerProcessOptions> per_process_opts;
+extern native_module::NativeModuleLoader per_process_loader;
// Forward declaration
class Environment;