Gabriel Schulhof c5aa8b8ef1
node-api: define version 10
Notable runtime changes to existing APIs:
- returning `node_api_cannot_run_js` instead of
  `napi_pending_exception`.
- allow creating references to objects, functions, and symbols.

PR-URL: https://github.com/nodejs/node/pull/55676
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2024-12-31 16:29:50 +00:00

15 lines
204 B
Python

{
"targets": [
{
"target_name": "test_string",
"sources": [
"test_string.c",
"test_null.c",
],
"defines": [
"NAPI_VERSION=10",
],
},
],
}