-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macro NODE_API_MODULE doesn't work with namespace in regfunc #249
Comments
Thus, if you pass in a function called OTOH, if you pass a namespaced function such as That's why in the above error output the compiler complains that I'll make a point to document this in node-gyp.md. |
Fixes: nodejs/node-addon-api#249 PR-URL: nodejs/node-addon-api#251 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fixes: nodejs/node-addon-api#249 PR-URL: nodejs/node-addon-api#251 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fixes: nodejs/node-addon-api#249 PR-URL: nodejs/node-addon-api#251 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fixes: nodejs/node-addon-api#249 PR-URL: nodejs/node-addon-api#251 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Fixes: nodejs/node-addon-api#249 PR-URL: nodejs/node-addon-api#251 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Environment info
Steps to reproduce
Wrap functions from hello example to namespace:
Actual behavior
Compilation error
Expected behavior
No errors like with
nan
version.The text was updated successfully, but these errors were encountered: