From aea041b1e828178faf33f8cc5583456b052efeb1 Mon Sep 17 00:00:00 2001 From: okmttdhr Date: Wed, 15 Feb 2023 09:40:58 +0900 Subject: [PATCH] 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. --- lib/internal/bootstrap/loaders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/bootstrap/loaders.js b/lib/internal/bootstrap/loaders.js index 126d4caf740b90..90112dc70ece2d 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -20,7 +20,7 @@ // NM_F_LINKED. // - internalBinding(): the private internal C++ binding loader, inaccessible // from user land unless through `require('internal/test/binding')`. -// These C++ bindings are created using NODE_MODULE_CONTEXT_AWARE_INTERNAL() +// These C++ bindings are created using NODE_BINDING_CONTEXT_AWARE_INTERNAL() // and have their nm_flags set to NM_F_INTERNAL. // // Internal JavaScript module loader: