Skip to content
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

Closed
wants to merge 1 commit into from
Closed

doc: fix napi_create_*_error signatures in n-api #13544

wants to merge 1 commit into from

Conversation

jamen
Copy link
Contributor

@jamen jamen commented Jun 8, 2017

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)
  • doc

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API. labels Jun 8, 2017
Copy link
Member

@addaleax addaleax left a 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.

@jamen
Copy link
Contributor Author

jamen commented Jun 8, 2017

Done.

@benjamingr
Copy link
Member

Going to land this

benjamingr pushed a commit that referenced this pull request Jun 10, 2017
PR-URL: #13544
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna M. Kedzierska <anna.m.kedzierska@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
@benjamingr
Copy link
Member

Demonstrated to someone in Node how the process works :)

Thanks.

2529119

@benjamingr benjamingr closed this Jun 10, 2017
@addaleax
Copy link
Member

@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.)

@addaleax
Copy link
Member

Oh, and by the way, you Reviewed-By:-tagged The Other Anna™ ;)

addaleax pushed a commit that referenced this pull request Jun 10, 2017
PR-URL: #13544
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna M. Kedzierska <anna.m.kedzierska@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
@benjamingr
Copy link
Member

So sorry, not used for people watching me :O

@addaleax addaleax mentioned this pull request Jun 10, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request Apr 10, 2018
PR-URL: nodejs#13544
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna M. Kedzierska <anna.m.kedzierska@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
MylesBorins pushed a commit that referenced this pull request Apr 16, 2018
Backport-PR-URL: #19447
PR-URL: #13544
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna M. Kedzierska <anna.m.kedzierska@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Jason Ginchereau <jasongin@microsoft.com>
@MylesBorins MylesBorins mentioned this pull request Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants