Sitelet https://github.com/nodejs/node/pull/45551/commits/ba1d343a9beb8637977c1658e3c92de5245179dd
Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! src: rename internal module declaration as internal bindings
  • Loading branch information
legendecas committed Nov 21, 2022
commit ba1d343a9beb8637977c1658e3c92de5245179dd
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ static ExitCode InitializeNodeWithArgsInternal(
// Initialize node_start_time to get relative uptime.
per_process::node_start_time = uv_hrtime();

// Register built-in modules
// Register built-in bindings
binding::RegisterBuiltinBindings();

// Make inherited handles noninheritable.
Expand Down
2 changes: 1 addition & 1 deletion src/node_binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ void GetLinkedBinding(const FunctionCallbackInfo<Value>& args) {
}

// Call built-in bindings' _register_<module name> function to
// do module registration explicitly.
// do binding registration explicitly.
void RegisterBuiltinBindings() {
#define V(modname) _register_##modname();
NODE_BUILTIN_BINDINGS(V)
Expand Down