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
346 B
Python
15 lines
346 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "test_reference_all_types",
|
|
"sources": [ "test_reference_by_node_api_version.c" ],
|
|
"defines": [ "NAPI_VERSION=10" ],
|
|
},
|
|
{
|
|
"target_name": "test_reference_obj_only",
|
|
"sources": [ "test_reference_by_node_api_version.c" ],
|
|
"defines": [ "NAPI_VERSION=9" ],
|
|
}
|
|
]
|
|
}
|