mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
node-api: define version 8
Mark as stable the APIs that define Node-API version 8. PR-URL: https://github.com/nodejs/node/pull/37652 Backport-PR-URL: https://github.com/nodejs/node/pull/37728 Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
1 parent
cd1da67295
commit
36abc1802c
9 files changed
+37
-33
No files matched your search
+2
-2
@@ -250,7 +250,7 @@ napi_ref_threadsafe_function(napi_env env, napi_threadsafe_function func);
|
||||
|
||||
#endif // NAPI_VERSION >= 4
|
||||
|
||||
#ifdef NAPI_EXPERIMENTAL
|
||||
#if NAPI_VERSION >= 8
|
||||
|
||||
NAPI_EXTERN napi_status napi_add_async_cleanup_hook(
|
||||
napi_env env,
|
||||
@@ -261,7 +261,7 @@ NAPI_EXTERN napi_status napi_add_async_cleanup_hook(
|
||||
NAPI_EXTERN napi_status napi_remove_async_cleanup_hook(
|
||||
napi_async_cleanup_hook_handle remove_handle);
|
||||
|
||||
#endif // NAPI_EXPERIMENTAL
|
||||
#endif // NAPI_VERSION >= 8
|
||||
|
||||
EXTERN_C_END
|
||||
|
||||
|
||||
Reference in new issue
Block a user