@@ -329,22 +329,6 @@ NODE_EXTERN int Start(int argc, char* argv[]);
329329NODE_EXTERN int Stop (Environment* env,
330330 StopFlags::Flags flags = StopFlags::kNoFlags );
331331
332- // Set up per-process state needed to run Node.js. This will consume arguments
333- // from argv, fill exec_argv, and possibly add errors resulting from parsing
334- // the arguments to `errors`. The return value is a suggested exit code for the
335- // program; If it is 0, then initializing Node.js succeeded.
336- // This runs a subset of the initialization performed by
337- // InitializeOncePerProcess(), which supersedes this function.
338- // The subset is roughly equivalent to the one given by
339- // `ProcessInitializationFlags::kLegacyInitializeNodeWithArgsBehavior`.
340- NODE_DEPRECATED (" Use InitializeOncePerProcess() instead" ,
341- NODE_EXTERN int InitializeNodeWithArgs (
342- std::vector<std::string>* argv,
343- std::vector<std::string>* exec_argv,
344- std::vector<std::string>* errors,
345- ProcessInitializationFlags::Flags flags =
346- ProcessInitializationFlags::kNoFlags ));
347-
348332// Set up per-process state needed to run Node.js. This will consume arguments
349333// from args, and return information about the initialization success,
350334// including the arguments split into argv/exec_argv, a list of potential
0 commit comments