Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: clarify use of NAPI_EXPERIMENTAL #35195

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/n-api.md
Co-authored-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
  • Loading branch information
mhdawson and gabrielschulhof authored Sep 17, 2020
commit 9a976c2558a5faa242b7aa7872807051bd0da5a8
2 changes: 1 addition & 1 deletion doc/api/n-api.md
Original file line number Diff line number Diff line change
@@ -267,7 +267,7 @@ a Node.js version which supports the N-API version shown in `N-API version:`
or higher. When using a Node.js version that does not support the
`N-API version:` listed or if there is no `N-API version:` listed,
then the API will only be available if
`#define NAPI_EXPERIMENTAL`. If an API is not available and you are
`#define NAPI_EXPERIMENTAL` precedes the inclusion of `node_api.h` or `js_native_api.h`. If an API appears not to be available on
mhdawson marked this conversation as resolved.
Show resolved Hide resolved
using a version of Node.js which is later than `added in:`
mhdawson marked this conversation as resolved.
Show resolved Hide resolved
this is most likely the reason for the apparent absence.