mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -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,7 +3,7 @@
|
||||
{
|
||||
"target_name": "test_buffer",
|
||||
"defines": [
|
||||
'NAPI_EXPERIMENTAL'
|
||||
'NAPI_VERSION=10'
|
||||
],
|
||||
"sources": [ "test_buffer.c" ]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user