node-aix-ppc64 16.16.0 → 16.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +801 -0
- package/LICENSE +111 -9
- package/README.md +49 -31
- package/bin/node +0 -0
- package/include/node/common.gypi +6 -2
- package/include/node/config.gypi +15 -9
- package/include/node/js_native_api.h +383 -390
- package/include/node/js_native_api_types.h +15 -9
- package/include/node/node.exp +12367 -12463
- package/include/node/node.h +15 -3
- package/include/node/node_api.h +154 -141
- package/include/node/node_api_types.h +8 -11
- package/include/node/node_version.h +1 -1
- package/include/node/v8-version.h +1 -1
- package/package.json +1 -1
- package/share/man/man1/node.1 +11 -1
|
@@ -8,7 +8,15 @@
|
|
|
8
8
|
#include <stdint.h> // NOLINT(modernize-deprecated-headers)
|
|
9
9
|
|
|
10
10
|
#if !defined __cplusplus || (defined(_MSC_VER) && _MSC_VER < 1900)
|
|
11
|
-
|
|
11
|
+
typedef uint16_t char16_t;
|
|
12
|
+
#endif
|
|
13
|
+
|
|
14
|
+
#ifndef NAPI_CDECL
|
|
15
|
+
#ifdef _WIN32
|
|
16
|
+
#define NAPI_CDECL __cdecl
|
|
17
|
+
#else
|
|
18
|
+
#define NAPI_CDECL
|
|
19
|
+
#endif
|
|
12
20
|
#endif
|
|
13
21
|
|
|
14
22
|
// JSVM API types are all opaque pointers for ABI stability
|
|
@@ -36,9 +44,7 @@ typedef enum {
|
|
|
36
44
|
napi_default_method = napi_writable | napi_configurable,
|
|
37
45
|
|
|
38
46
|
// Default for object properties, like in JS obj[prop].
|
|
39
|
-
napi_default_jsproperty = napi_writable |
|
|
40
|
-
napi_enumerable |
|
|
41
|
-
napi_configurable,
|
|
47
|
+
napi_default_jsproperty = napi_writable | napi_enumerable | napi_configurable,
|
|
42
48
|
#endif // NAPI_VERSION >= 8
|
|
43
49
|
} napi_property_attributes;
|
|
44
50
|
|
|
@@ -102,11 +108,11 @@ typedef enum {
|
|
|
102
108
|
// * the definition of `napi_status` in doc/api/n-api.md to reflect the newly
|
|
103
109
|
// added value(s).
|
|
104
110
|
|
|
105
|
-
typedef napi_value
|
|
106
|
-
|
|
107
|
-
typedef void
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
typedef napi_value(NAPI_CDECL* napi_callback)(napi_env env,
|
|
112
|
+
napi_callback_info info);
|
|
113
|
+
typedef void(NAPI_CDECL* napi_finalize)(napi_env env,
|
|
114
|
+
void* finalize_data,
|
|
115
|
+
void* finalize_hint);
|
|
110
116
|
|
|
111
117
|
typedef struct {
|
|
112
118
|
// One of utf8name or name should be NULL.
|