From 2b6562528193ccd2360cf2bee4f4728d049c1dbd Mon Sep 17 00:00:00 2001 From: sinkhaha <1468709106@qq.com> Date: Sat, 6 May 2023 00:09:25 +0800 Subject: [PATCH] lib: update comment Rename NODE_MODULE_CONTEXT_AWARE_CPP to NODE_BINDING_CONTEXT_AWARE_CPP. PR-URL: https://github.com/nodejs/node/pull/47884 Reviewed-By: Joyee Cheung Reviewed-By: Chengzhong Wu 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 37e41bfc796f21..552f3d3997d395 100644 --- a/lib/internal/bootstrap/loaders.js +++ b/lib/internal/bootstrap/loaders.js @@ -16,7 +16,7 @@ // compatibility issues caused by them from time to time. // - process._linkedBinding(): intended to be used by embedders to add // additional C++ bindings in their applications. These C++ bindings -// can be created using NODE_MODULE_CONTEXT_AWARE_CPP() with the flag +// can be created using NODE_BINDING_CONTEXT_AWARE_CPP() with the flag // NM_F_LINKED. // - internalBinding(): the private internal C++ binding loader, inaccessible // from user land unless through `require('internal/test/binding')`.