node-api: type tag external values without v8::Private · nodejs/node@3a49205 · GitHub
Skip to content

Commit 3a49205

Browse files
legendecasRafaelGSS
authored andcommitted
node-api: type tag external values without v8::Private
v8::External can not have any properties and private properties. Type tag v8::External with a wrapper struct without setting a private property on the v8::External. PR-URL: #51149 Fixes: nodejs/node-v8#273 Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
1 parent 57c6455 commit 3a49205

2 files changed

Lines changed: 88 additions & 13 deletions

File tree

src/js_native_api_v8.cc

Lines changed: 82 additions & 8 deletions

test/cctest/test_linked_binding.cc

Lines changed: 6 additions & 5 deletions

0 commit comments

Comments
 (0)