Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: remove unnecessary symbol exposure
The symbol generated by `NODE_API_MODULE()` is exposed unnecessarily. It is sufficient for it to be a local symbol because it is passed around as a function pointer. Furthermore, making it `static` fixes a warning. Fixes: nodejs/node-addon-api#888 PR-URL: nodejs/node-addon-api#896 Reviewed-By: Nicola Del Gobbo <[email protected]>
- Loading branch information