From b8cef7cb6bf9e7ed74079468b57a0f3c6425d0fc 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/realm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/bootstrap/realm.js b/lib/internal/bootstrap/realm.js index aa4f79fefa02ef..8ea6b6ed5f45f0 100644 --- a/lib/internal/bootstrap/realm.js +++ b/lib/internal/bootstrap/realm.js @@ -21,7 +21,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')`.