Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! src: add detailed embedder process initia…
Browse files Browse the repository at this point in the history
…lization API
  • Loading branch information
addaleax committed Aug 5, 2022
1 parent 46057ce commit 7973d3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ namespace node {
class IsolateData;
class Environment;
class MultiIsolatePlatform;
class InitializationResultImpl;

namespace ProcessFlags {
enum Flags : uint64_t {
Expand Down Expand Up @@ -293,6 +294,10 @@ class NODE_EXTERN InitializationResult {
// If kNoInitializeNodeV8Platform was not specified, the global Node.js
// platform instance.
virtual MultiIsolatePlatform* platform() const = 0;

private:
InitializationResult() = default;
friend class InitializationResultImpl;
};

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

0 comments on commit 7973d3d

Please sign in to comment.