Skip to content

Commit 7973d3d

Browse files
committed
fixup! fixup! fixup! fixup! src: add detailed embedder process initialization API
1 parent 46057ce commit 7973d3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/node.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ namespace node {
224224
class IsolateData;
225225
class Environment;
226226
class MultiIsolatePlatform;
227+
class InitializationResultImpl;
227228

228229
namespace ProcessFlags {
229230
enum Flags : uint64_t {
@@ -293,6 +294,10 @@ class NODE_EXTERN InitializationResult {
293294
// If kNoInitializeNodeV8Platform was not specified, the global Node.js
294295
// platform instance.
295296
virtual MultiIsolatePlatform* platform() const = 0;
297+
298+
private:
299+
InitializationResult() = default;
300+
friend class InitializationResultImpl;
296301
};
297302

298303
// TODO(addaleax): Officially deprecate this and replace it with something

0 commit comments

Comments
 (0)