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:
authorgengjiawen <technicalcute@gmail.com>2019-03-28 17:20:53 +0300
committerRefael Ackermann <refack@gmail.com>2019-04-05 15:59:00 +0300
commitd0e2650d03f823cf5cc2f55750a7d5111fb2040d (patch)
treecf4cba82834128d80e74aad72b1d809a78f6f8d0 /src/js_native_api_types.h
parent135b79a31d51939d46b68eaea5249e28c7f67757 (diff)
src: add NOLINT to js_native_.*
* add filter to not lint NOLINT rules PR-URL: https://github.com/nodejs/node/pull/26884 Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/js_native_api_types.h')
-rw-r--r--src/js_native_api_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/js_native_api_types.h b/src/js_native_api_types.h
index 1f46729fc67..fc9718a699c 100644
--- a/src/js_native_api_types.h
+++ b/src/js_native_api_types.h
@@ -1,8 +1,11 @@
#ifndef SRC_JS_NATIVE_API_TYPES_H_
#define SRC_JS_NATIVE_API_TYPES_H_
-#include <stddef.h>
-#include <stdint.h>
+// This file needs to be compatible with C compilers.
+// This is a public include file, and these includes have essentially
+// became part of it's API.
+#include <stddef.h> // NOLINT(modernize-deprecated-headers)
+#include <stdint.h> // NOLINT(modernize-deprecated-headers)
#if !defined __cplusplus || (defined(_MSC_VER) && _MSC_VER < 1900)
typedef uint16_t char16_t;