We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada8aa8 commit 1fc1181Copy full SHA for 1fc1181
src/node_api_types.h
@@ -4,6 +4,10 @@
4
#include <stddef.h>
5
#include <stdint.h>
6
7
+#if !defined __cplusplus || (defined(_MSC_VER) && _MSC_VER < 1900)
8
+ typedef uint16_t char16_t;
9
+#endif
10
+
11
// JSVM API types are all opaque pointers for ABI stability
12
// typedef undefined structs instead of void* for compile time type safety
13
typedef struct napi_env__ *napi_env;
0 commit comments