mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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>
This commit is contained in:
1 parent
4f77920a9d
commit
c2f4d8d688
14 files changed
+46
-65
No files matched your search
@@ -3,12 +3,12 @@
|
||||
{
|
||||
"target_name": "test_reference_all_types",
|
||||
"sources": [ "test_reference_by_node_api_version.c" ],
|
||||
"defines": [ "NAPI_EXPERIMENTAL" ],
|
||||
"defines": [ "NAPI_VERSION=10" ],
|
||||
},
|
||||
{
|
||||
"target_name": "test_reference_obj_only",
|
||||
"sources": [ "test_reference_by_node_api_version.c" ],
|
||||
"defines": [ "NAPI_VERSION=8" ],
|
||||
"defines": [ "NAPI_VERSION=9" ],
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user