| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5e7c651 commit f8feb02
10 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,7 +1,8 @@ | |||
| 1 | - | ||
| 2 | 1 | #ifndef SRC_ALIASED_BUFFER_H_ | |
| 3 | 2 | #define SRC_ALIASED_BUFFER_H_ | |
| 4 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 5 | 6 | #include "v8.h" | |
| 6 | 7 | #include "util-inl.h" | |
| 7 | 8 | ||
@@ -235,4 +236,6 @@ class AliasedBuffer { | |||
| 235 | 236 | }; | |
| 236 | 237 | } // namespace node | |
| 237 | 238 | ||
| 239 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 240 | + | ||
| 238 | 241 | #endif // SRC_ALIASED_BUFFER_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_INSPECTOR_AGENT_H_ | |
| 2 | 2 | #define SRC_INSPECTOR_AGENT_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include <memory> | |
| 5 | 7 | ||
| 6 | 8 | #include <stddef.h> | |
@@ -120,4 +122,6 @@ class Agent { | |||
| 120 | 122 | } // namespace inspector | |
| 121 | 123 | } // namespace node | |
| 122 | 124 | ||
| 125 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 126 | + | ||
| 123 | 127 | #endif // SRC_INSPECTOR_AGENT_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_INSPECTOR_IO_H_ | |
| 2 | 2 | #define SRC_INSPECTOR_IO_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "inspector_socket_server.h" | |
| 5 | 7 | #include "node_mutex.h" | |
| 6 | 8 | #include "uv.h" | |
@@ -90,4 +92,6 @@ class InspectorIo { | |||
| 90 | 92 | } // namespace inspector | |
| 91 | 93 | } // namespace node | |
| 92 | 94 | ||
| 95 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 96 | + | ||
| 93 | 97 | #endif // SRC_INSPECTOR_IO_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_INSPECTOR_SOCKET_H_ | |
| 2 | 2 | #define SRC_INSPECTOR_SOCKET_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "util-inl.h" | |
| 5 | 7 | #include "uv.h" | |
| 6 | 8 | ||
@@ -52,5 +54,6 @@ class InspectorSocket { | |||
| 52 | 54 | } // namespace inspector | |
| 53 | 55 | } // namespace node | |
| 54 | 56 | ||
| 57 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 55 | 58 | ||
| 56 | 59 | #endif // SRC_INSPECTOR_SOCKET_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_INSPECTOR_SOCKET_SERVER_H_ | |
| 2 | 2 | #define SRC_INSPECTOR_SOCKET_SERVER_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "inspector_agent.h" | |
| 5 | 7 | #include "inspector_socket.h" | |
| 6 | 8 | #include "uv.h" | |
@@ -98,4 +100,6 @@ class InspectorSocketServer { | |||
| 98 | 100 | } // namespace inspector | |
| 99 | 101 | } // namespace node | |
| 100 | 102 | ||
| 103 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 104 | + | ||
| 101 | 105 | #endif // SRC_INSPECTOR_SOCKET_SERVER_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_NODE_CONTEXT_DATA_H_ | |
| 2 | 2 | #define SRC_NODE_CONTEXT_DATA_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | namespace node { | |
| 5 | 7 | ||
| 6 | 8 | // Pick an index that's hopefully out of the way when we're embedded inside | |
@@ -37,4 +39,6 @@ enum ContextEmbedderIndex { | |||
| 37 | 39 | ||
| 38 | 40 | } // namespace node | |
| 39 | 41 | ||
| 42 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 43 | + | ||
| 40 | 44 | #endif // SRC_NODE_CONTEXT_DATA_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_NODE_CONTEXTIFY_H_ | |
| 2 | 2 | #define SRC_NODE_CONTEXTIFY_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "node_internals.h" | |
| 5 | 7 | #include "node_context_data.h" | |
| 6 | 8 | ||
@@ -107,4 +109,6 @@ class ContextifyContext { | |||
| 107 | 109 | } // namespace contextify | |
| 108 | 110 | } // namespace node | |
| 109 | 111 | ||
| 112 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 113 | + | ||
| 110 | 114 | #endif // SRC_NODE_CONTEXTIFY_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_NODE_MUTEX_H_ | |
| 2 | 2 | #define SRC_NODE_MUTEX_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "util.h" | |
| 5 | 7 | #include "uv.h" | |
| 6 | 8 | ||
@@ -184,4 +186,6 @@ MutexBase<Traits>::ScopedUnlock::~ScopedUnlock() { | |||
| 184 | 186 | ||
| 185 | 187 | } // namespace node | |
| 186 | 188 | ||
| 189 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 190 | + | ||
| 187 | 191 | #endif // SRC_NODE_MUTEX_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_NODE_PERF_COMMON_H_ | |
| 2 | 2 | #define SRC_NODE_PERF_COMMON_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include "node.h" | |
| 5 | 7 | #include "v8.h" | |
| 6 | 8 | ||
@@ -87,4 +89,6 @@ class performance_state { | |||
| 87 | 89 | } // namespace performance | |
| 88 | 90 | } // namespace node | |
| 89 | 91 | ||
| 92 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 93 | + | ||
| 90 | 94 | #endif // SRC_NODE_PERF_COMMON_H_ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | #ifndef SRC_NODE_PLATFORM_H_ | |
| 2 | 2 | #define SRC_NODE_PLATFORM_H_ | |
| 3 | 3 | ||
| 4 | + #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 5 | + | ||
| 4 | 6 | #include <queue> | |
| 5 | 7 | #include <unordered_map> | |
| 6 | 8 | #include <vector> | |
@@ -160,4 +162,6 @@ class NodePlatform : public MultiIsolatePlatform { | |||
| 160 | 162 | ||
| 161 | 163 | } // namespace node | |
| 162 | 164 | ||
| 165 | + #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS | ||
| 166 | + | ||
| 163 | 167 | #endif // SRC_NODE_PLATFORM_H_ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments