diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-03-23 09:38:16 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-03-26 08:23:49 +0200 |
commit | ebbf3936001969905ce28dc588b2c71c3b65c146 (patch) | |
tree | 250f8e12609fe1ad23439d8666d69ba865462100 /src/node_config.cc | |
parent | 0d5720bf039007c96b7bad51cd7a22335a5b5c41 (diff) | |
download | node-new-ebbf3936001969905ce28dc588b2c71c3b65c146.tar.gz |
src: name all builtin init functions Initialize
This commit renames a few of the builtin modules init functions to
Initialize for consistency.
PR-URL: https://github.com/nodejs/node/pull/19550
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_config.cc')
-rw-r--r-- | src/node_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_config.cc b/src/node_config.cc index cac551ad2c..0542bff1d6 100644 --- a/src/node_config.cc +++ b/src/node_config.cc @@ -36,7 +36,7 @@ using v8::Value; value, ReadOnly).FromJust(); \ } while (0) -static void InitConfig(Local<Object> target, +static void Initialize(Local<Object> target, Local<Value> unused, Local<Context> context) { Environment* env = Environment::GetCurrent(context); @@ -138,4 +138,4 @@ static void InitConfig(Local<Object> target, } // namespace node -NODE_BUILTIN_MODULE_CONTEXT_AWARE(config, node::InitConfig) +NODE_BUILTIN_MODULE_CONTEXT_AWARE(config, node::Initialize) |