Skip to content

Commit

Permalink
src: rename async-wrap -> async_wrap
Browse files Browse the repository at this point in the history
This commit renames async-wrap to async_wrap for consitency with other
c++ source files.

PR-URL: #17022
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
  • Loading branch information
danbev committed Nov 17, 2017
1 parent a0aff57 commit 7844766
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
],

'sources': [
'src/async-wrap.cc',
'src/async_wrap.cc',
'src/cares_wrap.cc',
'src/connection_wrap.cc',
'src/connect_wrap.cc',
Expand Down Expand Up @@ -245,8 +245,8 @@
'src/uv.cc',
# headers to make for a more pleasant IDE experience
'src/aliased_buffer.h',
'src/async-wrap.h',
'src/async-wrap-inl.h',
'src/async_wrap.h',
'src/async_wrap-inl.h',
'src/base-object.h',
'src/base-object-inl.h',
'src/connection_wrap.h',
Expand Down Expand Up @@ -837,7 +837,7 @@
'conditions': [
['node_target_type!="static_library"', {
'libraries': [
'<(OBJ_PATH)<(OBJ_SEPARATOR)async-wrap.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)async_wrap.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)env.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)node.<(OBJ_SUFFIX)',
'<(OBJ_PATH)<(OBJ_SEPARATOR)node_buffer.<(OBJ_SUFFIX)',
Expand Down
2 changes: 1 addition & 1 deletion src/async-wrap-inl.h → src/async_wrap-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "base-object-inl.h"
#include "node_internals.h"

Expand Down
2 changes: 1 addition & 1 deletion src/async-wrap.cc → src/async_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#define CARES_STATICLIB
#include "ares.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "node.h"
#include "req-wrap-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/connect_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "env.h"
#include "req-wrap.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "v8.h"

namespace node {
Expand Down
2 changes: 1 addition & 1 deletion src/env.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "node_internals.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "v8-profiler.h"
#include "node_buffer.h"
#include "node_platform.h"
Expand Down
2 changes: 1 addition & 1 deletion src/fs_event_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"
#include "node.h"
Expand Down
2 changes: 1 addition & 1 deletion src/handle_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "handle_wrap.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"
#include "node.h"
Expand Down
2 changes: 1 addition & 1 deletion src/handle_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "util.h"
#include "uv.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/js_stream.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "js_stream.h"

#include "async-wrap.h"
#include "async_wrap.h"
#include "env-inl.h"
#include "node_buffer.h"
#include "stream_base-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/js_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "stream_base.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#endif

#include "ares.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "http_parser.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "node_mutex.h"
#include "tls_wrap.h" // TLSWrap

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "string_bytes.h"
#include "util-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "node_buffer.h"

#include "env.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "base-object-inl.h"

#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_http_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "node.h"
#include "node_buffer.h"

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "http_parser.h"
#include "stream_base-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_stat_watcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "node_stat_watcher.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/node_stat_watcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "node.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "uv.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/node_zlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "node.h"
#include "node_buffer.h"

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/pipe_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "pipe_wrap.h"

#include "async-wrap.h"
#include "async_wrap.h"
#include "connection_wrap.h"
#include "env-inl.h"
#include "handle_wrap.h"
Expand Down
2 changes: 1 addition & 1 deletion src/pipe_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "connection_wrap.h"
#include "env.h"

Expand Down
2 changes: 1 addition & 1 deletion src/req-wrap-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "req-wrap.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "util-inl.h"

Expand Down
2 changes: 1 addition & 1 deletion src/req-wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "util.h"
#include "v8.h"
Expand Down
2 changes: 1 addition & 1 deletion src/signal_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "util-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/stream_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "env.h"
#include "async-wrap.h"
#include "async_wrap.h"
#include "req-wrap-inl.h"
#include "node.h"
#include "util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tcp_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "connection_wrap.h"

Expand Down
2 changes: 1 addition & 1 deletion src/timer_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "env-inl.h"
#include "handle_wrap.h"
#include "util-inl.h"
Expand Down
2 changes: 1 addition & 1 deletion src/tls_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// USE OR OTHER DEALINGS IN THE SOFTWARE.

#include "tls_wrap.h"
#include "async-wrap-inl.h"
#include "async_wrap-inl.h"
#include "node_buffer.h" // Buffer
#include "node_crypto.h" // SecureContext
#include "node_crypto_bio.h" // NodeBIO
Expand Down
2 changes: 1 addition & 1 deletion src/tls_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "node.h"
#include "node_crypto.h" // SSLWrap

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "stream_wrap.h"
#include "util.h"
Expand Down
2 changes: 1 addition & 1 deletion src/udp_wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS

#include "async-wrap.h"
#include "async_wrap.h"
#include "env.h"
#include "handle_wrap.h"
#include "req-wrap-inl.h"
Expand Down

0 comments on commit 7844766

Please sign in to comment.