File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 44// Use INT_MAX, this should only be consumed by the pre-processor anyway.
55#define NAPI_VERSION_EXPERIMENTAL 2147483647
66#ifndef NAPI_VERSION
7- // The baseline version for N-API.
8- // The NAPI_VERSION controls which version will be used by default when
9- // compilling a native addon. If the addon developer specifically wants to use
10- // functions available in a new version of N-API that is not yet ported in all
11- // LTS versions, they can set NAPI_VERSION knowing that they have specifically
12- // depended on that version.
7+ // The baseline version for Node-API.
8+ // NAPI_VERSION controls which version is used by default when compiling
9+ // a native addon. If the addon developer wants to use functions from a
10+ // newer Node-API version not yet available in all LTS versions, they can
11+ // set NAPI_VERSION to explicitly depend on that version.
1312#define NAPI_VERSION 8
1413#endif
1514
1615
1716// This file needs to be compatible with C compilers.
1817// This is a public include file, and these includes have essentially
19- // became part of it's API.
18+ // become part of its API.
2019#include <stddef.h> // NOLINT(modernize-deprecated-headers)
2120#include <stdint.h> // NOLINT(modernize-deprecated-headers)
2221
You can’t perform that action at this time.
0 commit comments