Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-05-16 12:50:48 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2018-06-07 06:46:51 +0300
commitcbc3dd997eb90d629d1b9912b7a5a40eb82343df (patch)
tree822b55186ac52c127a686d2d828c15518be20186 /src/node_win32_etw_provider.h
parent75e91659887012f743aa4487d6d4ce3d765c028a (diff)
src, tools: add check for left leaning pointers
This commit adds a rule to cpplint to check that pointers in the code base lean to the left and not right, and also fixes the violations reported. PR-URL: https://github.com/nodejs/node/pull/21010 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_win32_etw_provider.h')
-rw-r--r--src/node_win32_etw_provider.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/node_win32_etw_provider.h b/src/node_win32_etw_provider.h
index 53b9529b539..0f84a86f0ac 100644
--- a/src/node_win32_etw_provider.h
+++ b/src/node_win32_etw_provider.h
@@ -35,18 +35,18 @@ namespace node {
# define INLINE inline
#endif
-typedef ULONG (NTAPI *EventRegisterFunc)(
+typedef ULONG (NTAPI* EventRegisterFunc)(
LPCGUID ProviderId,
PENABLECALLBACK EnableCallback,
PVOID CallbackContext,
PREGHANDLE RegHandle
);
-typedef ULONG (NTAPI *EventUnregisterFunc)(
+typedef ULONG (NTAPI* EventUnregisterFunc)(
REGHANDLE RegHandle
);
-typedef ULONG (NTAPI *EventWriteFunc)(
+typedef ULONG (NTAPI* EventWriteFunc)(
REGHANDLE RegHandle,
PCEVENT_DESCRIPTOR EventDescriptor,
ULONG UserDataCount,
@@ -57,19 +57,19 @@ void init_etw();
void shutdown_etw();
INLINE void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req,
- node_dtrace_connection_t* conn, const char *remote, int port,
- const char *method, const char *url, int fd);
+ node_dtrace_connection_t* conn, const char* remote, int port,
+ const char* method, const char* url, int fd);
INLINE void NODE_HTTP_SERVER_RESPONSE(node_dtrace_connection_t* conn,
- const char *remote, int port, int fd);
+ const char* remote, int port, int fd);
INLINE void NODE_HTTP_CLIENT_REQUEST(node_dtrace_http_client_request_t* req,
- node_dtrace_connection_t* conn, const char *remote, int port,
- const char *method, const char *url, int fd);
+ node_dtrace_connection_t* conn, const char* remote, int port,
+ const char* method, const char* url, int fd);
INLINE void NODE_HTTP_CLIENT_RESPONSE(node_dtrace_connection_t* conn,
- const char *remote, int port, int fd);
+ const char* remote, int port, int fd);
INLINE void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn,
- const char *remote, int port, int fd);
+ const char* remote, int port, int fd);
INLINE void NODE_NET_STREAM_END(node_dtrace_connection_t* conn,
- const char *remote, int port, int fd);
+ const char* remote, int port, int fd);
INLINE void NODE_GC_START(v8::GCType type,
v8::GCCallbackFlags flags,
v8::Isolate* isolate);