Commit 0f8caf23 authored by Gabriel Schulhof's avatar Gabriel Schulhof
Browse files

n-api: initialize a module via a special symbol

Much like regular modules, N-API modules can also benefit from having
a special symbol which they can expose.

Fixes: https://github.com/nodejs/node/issues/19845
PR-URL: https://github.com/nodejs/node/pull/20161


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent 3bcd8576
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment