Skip to content

Commit 06e0dd3

Browse files
okmttdhrdanielleadams
authored andcommitted
lib: rename internal module declaration as internal bindings
This is a follow-up to #45551 . Renaming NODE_MODULE_CONTEXT_AWARE_INTERNAL to NODE_BINDING_CONTEXT_AWARE_INTERNAL. As these bindings are already loaded with the function internalBinding in the JS land, the term "internal binding" can be straightforward to be adopted. PR-URL: #46663 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent c6e722a commit 06e0dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/bootstrap/loaders.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// NM_F_LINKED.
2121
// - internalBinding(): the private internal C++ binding loader, inaccessible
2222
// from user land unless through `require('internal/test/binding')`.
23-
// These C++ bindings are created using NODE_MODULE_CONTEXT_AWARE_INTERNAL()
23+
// These C++ bindings are created using NODE_BINDING_CONTEXT_AWARE_INTERNAL()
2424
// and have their nm_flags set to NM_F_INTERNAL.
2525
//
2626
// Internal JavaScript module loader:

0 commit comments

Comments
 (0)