-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
doc: fix napi_create_*_error signatures in n-api #13544
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for noticing!
Can you try to wrap the lines at 80 characters? We try to align the arguments vertically for cases like these, compare e.g. napi_is_error
.
Done. |
Going to land this |
PR-URL: #13544 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna M. Kedzierska <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
Demonstrated to someone in Node how the process works :) Thanks. |
@benjamingr By the way, you accidentally pushed d62de929a7b464602466317c0ba596e56180237f as well – I just force-pushed it out, but I’m mentioning it just so you know you’ll want to rewind your master branch as well :) (Thanks to @lpinca for noticing it in IRC.) |
Oh, and by the way, you |
PR-URL: #13544 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna M. Kedzierska <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
So sorry, not used for people watching me :O |
PR-URL: nodejs#13544 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna M. Kedzierska <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
Backport-PR-URL: #19447 PR-URL: #13544 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna M. Kedzierska <[email protected]> Reviewed-By: Chris Dickinson <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
I think that these signatures need the
napi_value* result
of the error they are creating (as described below each one, and earlier in the docs)Checklist
Affected core subsystem(s)