From 5119bb1a6dbd4bcc7057f920af22f1f7d34051a7 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 14 Nov 2017 13:34:52 +0100 Subject: [PATCH] src: rename base-object -> base_object This commit renames base-object to base_object for consitency with other c++ source files. PR-URL: https://github.com/nodejs/node/pull/17022 Reviewed-By: James M Snell Reviewed-By: Refael Ackermann Reviewed-By: Anatoli Papirovski --- node.gyp | 4 ++-- src/async_wrap-inl.h | 2 +- src/async_wrap.h | 2 +- src/{base-object-inl.h => base_object-inl.h} | 2 +- src/{base-object.h => base_object.h} | 0 src/inspector_js_api.cc | 2 +- src/module_wrap.h | 2 +- src/node_contextify.cc | 2 +- src/node_crypto.h | 2 +- src/node_i18n.cc | 2 +- src/node_perf.h | 2 +- src/node_serdes.cc | 2 +- src/node_url.cc | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) rename src/{base-object-inl.h => base_object-inl.h} (99%) rename src/{base-object.h => base_object.h} (100%) diff --git a/node.gyp b/node.gyp index 29a5aaf805d195..77e3ad22ca75e3 100644 --- a/node.gyp +++ b/node.gyp @@ -244,8 +244,8 @@ 'src/aliased_buffer.h', 'src/async_wrap.h', 'src/async_wrap-inl.h', - 'src/base-object.h', - 'src/base-object-inl.h', + 'src/base_object.h', + 'src/base_object-inl.h', 'src/connection_wrap.h', 'src/connect_wrap.h', 'src/env.h', diff --git a/src/async_wrap-inl.h b/src/async_wrap-inl.h index 219dfa71b6cdf0..cc6377d82a0fee 100644 --- a/src/async_wrap-inl.h +++ b/src/async_wrap-inl.h @@ -25,7 +25,7 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "async_wrap.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "node_internals.h" namespace node { diff --git a/src/async_wrap.h b/src/async_wrap.h index 3ff05825e75e77..98451ead3bc220 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -24,7 +24,7 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include "base-object.h" +#include "base_object.h" #include "v8.h" #include diff --git a/src/base-object-inl.h b/src/base_object-inl.h similarity index 99% rename from src/base-object-inl.h rename to src/base_object-inl.h index 480edd7463e7f0..74c1458b3d69ea 100644 --- a/src/base-object-inl.h +++ b/src/base_object-inl.h @@ -24,7 +24,7 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS -#include "base-object.h" +#include "base_object.h" #include "env-inl.h" #include "util-inl.h" #include "v8.h" diff --git a/src/base-object.h b/src/base_object.h similarity index 100% rename from src/base-object.h rename to src/base_object.h diff --git a/src/inspector_js_api.cc b/src/inspector_js_api.cc index f72517bac18c70..50374b7e24377b 100644 --- a/src/inspector_js_api.cc +++ b/src/inspector_js_api.cc @@ -1,4 +1,4 @@ -#include "base-object-inl.h" +#include "base_object-inl.h" #include "inspector_agent.h" #include "inspector_io.h" #include "node_internals.h" diff --git a/src/module_wrap.h b/src/module_wrap.h index 980c802c1f1952..a8dd89b790068a 100644 --- a/src/module_wrap.h +++ b/src/module_wrap.h @@ -7,7 +7,7 @@ #include #include #include "node_url.h" -#include "base-object-inl.h" +#include "base_object-inl.h" namespace node { namespace loader { diff --git a/src/node_contextify.cc b/src/node_contextify.cc index 47806aa7f61786..7c705236a3d3d1 100644 --- a/src/node_contextify.cc +++ b/src/node_contextify.cc @@ -21,7 +21,7 @@ #include "node_internals.h" #include "node_watchdog.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "v8-debug.h" namespace node { diff --git a/src/node_crypto.h b/src/node_crypto.h index 4034afab6f208c..836144bf8be1a2 100644 --- a/src/node_crypto.h +++ b/src/node_crypto.h @@ -32,7 +32,7 @@ #include "env.h" #include "async_wrap-inl.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "v8.h" diff --git a/src/node_i18n.cc b/src/node_i18n.cc index 30f421a8b8384b..7c769226062e5d 100644 --- a/src/node_i18n.cc +++ b/src/node_i18n.cc @@ -48,7 +48,7 @@ #include "node_buffer.h" #include "env-inl.h" #include "util-inl.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "v8.h" #include diff --git a/src/node_perf.h b/src/node_perf.h index ba7a326471d695..690f70830961bb 100644 --- a/src/node_perf.h +++ b/src/node_perf.h @@ -6,7 +6,7 @@ #include "node.h" #include "node_perf_common.h" #include "env.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "v8.h" #include "uv.h" diff --git a/src/node_serdes.cc b/src/node_serdes.cc index 4e99513a5fd31c..449fe4a551a162 100644 --- a/src/node_serdes.cc +++ b/src/node_serdes.cc @@ -1,6 +1,6 @@ #include "node_internals.h" #include "node_buffer.h" -#include "base-object-inl.h" +#include "base_object-inl.h" namespace node { diff --git a/src/node_url.cc b/src/node_url.cc index 49c005a23bc2c7..337eb55f4427c0 100644 --- a/src/node_url.cc +++ b/src/node_url.cc @@ -1,6 +1,6 @@ #include "node_url.h" #include "node_internals.h" -#include "base-object-inl.h" +#include "base_object-inl.h" #include "node_i18n.h" #include