#ifndef SRC_NODE_API_TYPES_H_ #define SRC_NODE_API_TYPES_H_ #include "js_native_api_types.h" typedef struct napi_callback_scope__* napi_callback_scope; typedef struct napi_async_context__* napi_async_context; typedef struct napi_async_work__* napi_async_work; #if NAPI_VERSION >= 4 typedef struct napi_threadsafe_function__* napi_threadsafe_function; #endif // NAPI_VERSION >= 4 #if NAPI_VERSION >= 4 typedef enum { napi_tsfn_release, napi_tsfn_abort } napi_threadsafe_function_release_mode; typedef enum { napi_tsfn_nonblocking, napi_tsfn_blocking } napi_threadsafe_function_call_mode; #endif // NAPI_VERSION >= 4 typedef void (*napi_async_execute_callback)(napi_env env, void* data); typedef void (*napi_async_complete_callback)(napi_env env, napi_status status, void* data); #if NAPI_VERSION >= 4 typedef void (*napi_threadsafe_function_call_js)(napi_env env, napi_value js_callback, void* context, void* data); #endif // NAPI_VERSION >= 4 typedef struct { uint32_t major; uint32_t minor; uint32_t patch; const char* release; } napi_node_version; #ifdef NAPI_EXPERIMENTAL typedef struct napi_async_cleanup_hook_handle__* napi_async_cleanup_hook_handle; typedef void (*napi_async_cleanup_hook)(napi_async_cleanup_hook_handle handle, void* data); #endif // NAPI_EXPERIMENTAL #endif // SRC_NODE_API_TYPES_H_
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
libplatform | Folder | 0755 |
|
|
openssl | Folder | 0755 |
|
|
uv | Folder | 0755 |
|
|
common.gypi | File | 18.71 KB | 0644 |
|
config.gypi | File | 3.24 KB | 0644 |
|
js_native_api.h | File | 27.9 KB | 0644 |
|
js_native_api_types.h | File | 3.81 KB | 0644 |
|
node.h | File | 43.1 KB | 0644 |
|
node_api.h | File | 11.27 KB | 0644 |
|
node_api_types.h | File | 1.62 KB | 0644 |
|
node_buffer.h | File | 3.6 KB | 0644 |
|
node_object_wrap.h | File | 3.78 KB | 0644 |
|
node_version.h | File | 3.69 KB | 0644 |
|
uv.h | File | 63.83 KB | 0644 |
|
v8-internal.h | File | 13.93 KB | 0644 |
|
v8-platform.h | File | 15.09 KB | 0644 |
|
v8-profiler.h | File | 32.53 KB | 0644 |
|
v8-testing.h | File | 1.05 KB | 0644 |
|
v8-util.h | File | 20.17 KB | 0644 |
|
v8-value-serializer-version.h | File | 648 B | 0644 |
|
v8-version-string.h | File | 1.12 KB | 0644 |
|
v8-version.h | File | 772 B | 0644 |
|
v8-wasm-trap-handler-posix.h | File | 1.17 KB | 0644 |
|
v8-wasm-trap-handler-win.h | File | 1 KB | 0644 |
|
v8.h | File | 368.97 KB | 0644 |
|
v8config.h | File | 14.25 KB | 0644 |
|
zconf.h | File | 16.4 KB | 0644 |
|
zlib.h | File | 94.48 KB | 0644 |
|