Skip to content

Commit c5a560d

Browse files
Update PORTING.md
Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
1 parent 6f23569 commit c5a560d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PORTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The prefix alone does **not** indicate whether a function is Node.js-specific or
1515
What matters is which header the function is declared in:
1616

1717
- `js_native_api.h` — engine-agnostic APIs, available across all Node-API runtimes
18-
- `node_api.h` — runtime-specific APIs, currently defined by Node.js
18+
- `node_api.h` — runtime-specific APIs, providing features beyond pure JavaScript value operations.
1919

2020
For example, `node_api_is_sharedarraybuffer` carries the newer `node_api_` prefix but is declared
2121
in `js_native_api.h` and is therefore engine-agnostic.

0 commit comments

Comments
 (0)