GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: add include guards to internal headers · juliens/node@eff96d3

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • node.gyp
  • src
    • async-wrap-inl.h
    • async-wrap.h
    • base-object-inl.h
    • base-object.h
    • debug-agent.h
    • env-inl.h
    • env.h
    • handle_wrap.h
    • js_stream.h
    • node_constants.h
    • node_counters.h
    • node_crypto.h
    • node_crypto_bio.h
    • node_crypto_clienthello-inl.h
    • node_crypto_clienthello.h
    • node_crypto_groups.h
    • node_dtrace.h
    • node_file.h
    • node_http_parser.h
    • node_i18n.h
    • node_internals.h
    • node_javascript.h
    • node_lttng.h
    • node_lttng_provider.h
    • node_lttng_tp.h
    • node_revert.h
    • node_root_certs.h
    • node_stat_watcher.h
    • node_watchdog.h
    • node_win32_etw_provider-inl.h
    • node_win32_etw_provider.h
    • node_win32_perfctr_provider.h
    • node_wrap.h
    • pipe_wrap.h
    • req-wrap-inl.h
    • req-wrap.h
    • spawn_sync.h
    • stream_base-inl.h
    • stream_base.h
    • stream_wrap.h
    • string_bytes.h
    • string_search.h
    • tcp_wrap.h
    • tls_wrap.h
    • tty_wrap.h
    • udp_wrap.h
    • util-inl.h
    • util.h
  • test/addons
    • buffer-free-callback
      • binding.gyp
    • make-callback-recurse
      • binding.gyp
    • make-callback
      • binding.gyp
    • null-buffer-neuter
      • binding.gyp

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎node.gyp‎

Copy file name to clipboardExpand all lines: node.gyp
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@
706706
'GTEST_DONT_DEFINE_ASSERT_LE=1',
707707
'GTEST_DONT_DEFINE_ASSERT_LT=1',
708708
'GTEST_DONT_DEFINE_ASSERT_NE=1',
709+
'NODE_WANT_INTERNALS=1',
709710
],
710711
'sources': [
711712
'test/cctest/util.cc',
Collapse file

‎src/async-wrap-inl.h‎

Copy file name to clipboardExpand all lines: src/async-wrap-inl.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_ASYNC_WRAP_INL_H_
22
#define SRC_ASYNC_WRAP_INL_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "async-wrap.h"
57
#include "base-object.h"
68
#include "base-object-inl.h"
@@ -120,4 +122,6 @@ inline v8::Local<v8::Value> AsyncWrap::MakeCallback(
120122

121123
} // namespace node
122124

125+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
126+
123127
#endif // SRC_ASYNC_WRAP_INL_H_
Collapse file

‎src/async-wrap.h‎

Copy file name to clipboardExpand all lines: src/async-wrap.h
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_ASYNC_WRAP_H_
22
#define SRC_ASYNC_WRAP_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "base-object.h"
57
#include "v8.h"
68

@@ -86,5 +88,6 @@ void LoadAsyncWrapperInfo(Environment* env);
8688

8789
} // namespace node
8890

91+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
8992

9093
#endif // SRC_ASYNC_WRAP_H_
Collapse file

‎src/base-object-inl.h‎

Copy file name to clipboardExpand all lines: src/base-object-inl.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_BASE_OBJECT_INL_H_
22
#define SRC_BASE_OBJECT_INL_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "base-object.h"
57
#include "env.h"
68
#include "env-inl.h"
@@ -68,4 +70,6 @@ inline void BaseObject::ClearWeak() {
6870

6971
} // namespace node
7072

73+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
74+
7175
#endif // SRC_BASE_OBJECT_INL_H_
Collapse file

‎src/base-object.h‎

Copy file name to clipboardExpand all lines: src/base-object.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_BASE_OBJECT_H_
22
#define SRC_BASE_OBJECT_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "v8.h"
57

68
namespace node {
@@ -48,4 +50,6 @@ class BaseObject {
4850

4951
} // namespace node
5052

53+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
54+
5155
#endif // SRC_BASE_OBJECT_H_
Collapse file

‎src/debug-agent.h‎

Copy file name to clipboardExpand all lines: src/debug-agent.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#ifndef SRC_DEBUG_AGENT_H_
2323
#define SRC_DEBUG_AGENT_H_
2424

25+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
26+
2527
#include "util.h"
2628
#include "util-inl.h"
2729
#include "uv.h"
@@ -132,4 +134,6 @@ class Agent {
132134
} // namespace debugger
133135
} // namespace node
134136

137+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
138+
135139
#endif // SRC_DEBUG_AGENT_H_
Collapse file

‎src/env-inl.h‎

Copy file name to clipboardExpand all lines: src/env-inl.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_ENV_INL_H_
22
#define SRC_ENV_INL_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "env.h"
57
#include "node.h"
68
#include "util.h"
@@ -576,4 +578,6 @@ inline v8::Local<v8::Object> Environment::NewInternalFieldObject() {
576578

577579
} // namespace node
578580

581+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
582+
579583
#endif // SRC_ENV_INL_H_
Collapse file

‎src/env.h‎

Copy file name to clipboardExpand all lines: src/env.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_ENV_H_
22
#define SRC_ENV_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "ares.h"
57
#include "debug-agent.h"
68
#include "handle_wrap.h"
@@ -647,4 +649,6 @@ class Environment {
647649

648650
} // namespace node
649651

652+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
653+
650654
#endif // SRC_ENV_H_
Collapse file

‎src/handle_wrap.h‎

Copy file name to clipboardExpand all lines: src/handle_wrap.h
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_HANDLE_WRAP_H_
22
#define SRC_HANDLE_WRAP_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "async-wrap.h"
57
#include "util.h"
68
#include "uv.h"
@@ -69,5 +71,6 @@ class HandleWrap : public AsyncWrap {
6971

7072
} // namespace node
7173

74+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
7275

7376
#endif // SRC_HANDLE_WRAP_H_
Collapse file

‎src/js_stream.h‎

Copy file name to clipboardExpand all lines: src/js_stream.h
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef SRC_JS_STREAM_H_
22
#define SRC_JS_STREAM_H_
33

4+
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5+
46
#include "async-wrap.h"
57
#include "env.h"
68
#include "stream_base.h"
@@ -48,4 +50,6 @@ class JSStream : public AsyncWrap, public StreamBase {
4850

4951
} // namespace node
5052

53+
#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
54+
5155
#endif // SRC_JS_STREAM_H_

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.