From 37efe9803fe96cfb62ac149984fead04d1a0f417 Mon Sep 17 00:00:00 2001 From: sinkhaha <1468709106@qq.com> Date: Sat, 6 May 2023 00:09:25 +0800 Subject: [PATCH] fix: update comment rename NODE_MODULE_CONTEXT_AWARE_CPP to NODE_BINDING_CONTEXT_AWARE_CPP --- 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 8e35213234e995..c225840a80a146 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')`.