We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac0e28 commit 5fe7800Copy full SHA for 5fe7800
src/js_native_api.h
@@ -21,6 +21,18 @@
21
#endif
22
23
24
+#if defined(NAPI_EXPERIMENTAL) && \
25
+ !defined(NODE_API_EXPERIMENTAL_NO_WARNING) && \
26
+ !defined(NODE_WANT_INTERNALS)
27
+#ifdef _MSC_VER
28
+#pragma message("NAPI_EXPERIMENTAL is enabled. " \
29
+ "Experimental features may be unstable.")
30
+#else
31
+#warning "NAPI_EXPERIMENTAL is enabled. " \
32
+ "Experimental features may be unstable."
33
+#endif
34
35
+
36
#include "js_native_api_types.h"
37
38
// If you need __declspec(dllimport), either include <node_api.h> instead, or
0 commit comments