Skip to content

Commit 663251b

Browse files
chore: update headers from nodejs/node tag v25.5.0 (#72)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d41aa27 commit 663251b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

include/js_native_api_types.h

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@
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

0 commit comments

Comments
 (0)