-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Ref:
node-api-headers/include/js_native_api_types.h
Lines 46 to 53 in 1294543
#if !defined(NAPI_EXPERIMENTAL) || \ | |
(defined(NAPI_EXPERIMENTAL) && \ | |
(defined(NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT) || \ | |
defined(NODE_API_EXPERIMENTAL_BASIC_ENV_OPT_OUT))) | |
typedef struct napi_env__* node_api_nogc_env; | |
#else | |
typedef const struct napi_env__* node_api_nogc_env; | |
#endif |
All other NAPI_EXPERIMENTAL
apis were stripped, but node_api_nogc_env
and node_api_nogc_finalize
were not.
If NAPI_EXPERIMENTAL
is defined, node_api_post_finalizer
is missing for node_api_nogc_finalize
callbacks.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done