diff options
author | sinkhaha <1468709106@qq.com> | 2023-05-06 00:09:25 +0800 |
---|---|---|
committer | Chengzhong Wu <chengzhong.wcz@alibaba-inc.com> | 2023-05-12 17:58:03 +0800 |
commit | 78123275c2561260368eeebaa84b805830d189f1 (patch) | |
tree | 0c1c2e05d5ae189ee608474b028a633986c07490 | |
parent | 8244e6c35c0e9af3976511f31db2575bd2fc9d7a (diff) | |
download | node-new-78123275c2561260368eeebaa84b805830d189f1.tar.gz |
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 <joyeec9h3@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
-rw-r--r-- | lib/internal/bootstrap/realm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/realm.js b/lib/internal/bootstrap/realm.js index aa4f79fefa..8ea6b6ed5f 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')`. |