Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
n-api: mark thread-safe function as stable
Fixes: #24249 PR-URL: #25556 Backport-PR-URL: #25633 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
- Loading branch information
Showing
with
30 additions
and 26 deletions.
- +11 −11 doc/api/n-api.md
- +10 −5 src/node_api.h
- +6 −6 src/node_api_types.h
- +1 −1 src/node_version.h
- +2 −2 test/addons-napi/test_general/test.js
- +0 −1 test/addons-napi/test_threadsafe_function/binding.c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -114,6 +114,6 @@ | ||
| #define NODE_MODULE_VERSION 64 | ||
|
|
||
| // the NAPI_VERSION provided by this version of the runtime | ||
| #define NAPI_VERSION 4 | ||
|
|
||
| #endif // SRC_NODE_VERSION_H_ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -4,7 +4,6 @@ | ||
| // which, in turn, may affect the ABI stability of the project despite its use | ||
| // of N-API. | ||
| #include <uv.h> | ||
| #include <node_api.h> | ||
| #include "../common.h" | ||
|
|
||