From 4e1865126ced1c1fb4f7b77b40cafb7d5b117782 Mon Sep 17 00:00:00 2001 From: "okmttdhr, okp" Date: Mon, 27 Feb 2023 12:32:40 +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. PR-URL: https://github.com/nodejs/node/pull/46663 Reviewed-By: Joyee Cheung Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Colin Ihrig Reviewed-By: Chengzhong Wu Reviewed-By: Darshan Sen Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- 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: