-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Broken napi_call_function example in N-API documentation #39564
Comments
I'll try to take a look at this next week. |
@Silur this line
|
Fixes: nodejs#39564 Signed-off-by: Michael Dawson <mdawson@devrus.com>
Sorry I missed getting back to this. @deepakrkris thanks for taking a look. Can you confirm that what I have in #41264 is what you suggested? |
@mhdawson yes the changes in the PR is what I suggested |
Fixes: #39564 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #41264 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Fixes: #39564 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #41264 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Fixes: nodejs#39564 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: nodejs#41264 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Fixes: #39564 Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #41264 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Version
16.5.0
Platform
x64 arch linux 5.13.4-arch1-1
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
every time
What is the expected behavior?
example on https://nodejs.org/api/n-api.html#n_api_napi_call_function should work out of the box
What do you see instead?
Error: Invalid argument
Additional information
No response
The text was updated successfully, but these errors were encountered: