summaryrefslogtreecommitdiff
path: root/src/node_internals.h
diff options
context:
space:
mode:
authorCheng Zhao <zcbenz@gmail.com>2021-10-06 10:22:21 +0900
committerMichael Dawson <mdawson@devrus.com>2021-10-13 17:27:27 -0400
commit3b72788afb7365e10ae1e97c71d1f60ee29f09f2 (patch)
tree2704d51811fb4d1dd3ce7d6c9122c9982bdb5c28 /src/node_internals.h
parent4cf5563147cd562335ec02c4a78f9397a30e6701 (diff)
downloadnode-new-3b72788afb7365e10ae1e97c71d1f60ee29f09f2.tar.gz
src: add flags for controlling process behavior
PR-URL: https://github.com/nodejs/node/pull/40339 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Shelley Vohr <shelley.vohr@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Diffstat (limited to 'src/node_internals.h')
-rw-r--r--src/node_internals.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node_internals.h b/src/node_internals.h
index c996723db5..2671bec874 100644
--- a/src/node_internals.h
+++ b/src/node_internals.h
@@ -324,7 +324,8 @@ InitializationResult InitializeOncePerProcess(int argc, char** argv);
InitializationResult InitializeOncePerProcess(
int argc,
char** argv,
- InitializationSettingsFlags flags);
+ InitializationSettingsFlags flags,
+ ProcessFlags::Flags process_flags = ProcessFlags::kNoFlags);
void TearDownOncePerProcess();
void SetIsolateErrorHandlers(v8::Isolate* isolate, const IsolateSettings& s);
void SetIsolateMiscHandlers(v8::Isolate* isolate, const IsolateSettings& s);