From 3b72788afb7365e10ae1e97c71d1f60ee29f09f2 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 6 Oct 2021 10:22:21 +0900 Subject: src: add flags for controlling process behavior PR-URL: https://github.com/nodejs/node/pull/40339 Reviewed-By: Anna Henningsen Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Shelley Vohr Reviewed-By: Minwoo Jung --- src/node_internals.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/node_internals.h') 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); -- cgit v1.2.1