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>
15 lines
204 B
Python
15 lines
204 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "test_string",
|
|
"sources": [
|
|
"test_string.c",
|
|
"test_null.c",
|
|
],
|
|
"defines": [
|
|
"NAPI_VERSION=10",
|
|
],
|
|
},
|
|
],
|
|
}
|