diff options
author | legendecas <legendecas@gmail.com> | 2022-11-21 01:37:56 +0800 |
---|---|---|
committer | legendecas <legendecas@gmail.com> | 2022-11-29 00:23:08 +0800 |
commit | 71ff89f9299d1d10a4c424da23d827e5458dadff (patch) | |
tree | 8c559cc2359736a16c3726db0c180f9704465669 /src/node_snapshotable.cc | |
parent | d09f0c4dbc28acd89519064cec0b02d51842d985 (diff) | |
download | node-new-71ff89f9299d1d10a4c424da23d827e5458dadff.tar.gz |
src: rename internal module declaration as internal bindings
This is a continuation of the name reification on the internal bindings.
Renames NODE_MODULE_CONTEXT_AWARE_INTERNAL and
NODE_MODULE_EXTERNAL_REFERENCE to NODE_BINDING_CONTEXT_AWARE_INTERNAL
and NODE_BINDING_EXTERNAL_REFERENCE respectively.
PR-URL: https://github.com/nodejs/node/pull/45551
Refs: https://github.com/nodejs/node/issues/44036
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Diffstat (limited to 'src/node_snapshotable.cc')
-rw-r--r-- | src/node_snapshotable.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_snapshotable.cc b/src/node_snapshotable.cc index 4f56d7cca1..2a4690b76f 100644 --- a/src/node_snapshotable.cc +++ b/src/node_snapshotable.cc @@ -1503,6 +1503,6 @@ void RegisterExternalReferences(ExternalReferenceRegistry* registry) { } // namespace mksnapshot } // namespace node -NODE_MODULE_CONTEXT_AWARE_INTERNAL(mksnapshot, node::mksnapshot::Initialize) -NODE_MODULE_EXTERNAL_REFERENCE(mksnapshot, - node::mksnapshot::RegisterExternalReferences) +NODE_BINDING_CONTEXT_AWARE_INTERNAL(mksnapshot, node::mksnapshot::Initialize) +NODE_BINDING_EXTERNAL_REFERENCE(mksnapshot, + node::mksnapshot::RegisterExternalReferences) |