mirror of
https://github.com/nodejs/node.git
synced 2025-05-09 14:32:49 +00:00

Store the `napi_env` on the global object at a private key. This gives us one `napi_env` per context. Refs: https://github.com/nodejs/node/issues/14367 PR-URL: https://github.com/nodejs/node/pull/14217 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
13 lines
190 B
Python
13 lines
190 B
Python
{
|
|
"targets": [
|
|
{
|
|
"target_name": "store_env",
|
|
"sources": [ "store_env.c" ]
|
|
},
|
|
{
|
|
"target_name": "compare_env",
|
|
"sources": [ "compare_env.c" ]
|
|
}
|
|
]
|
|
}
|