Skip to content

Conversation

@mhdawson
Copy link
Member

Document the lifetime of the structure returned
by napi_get_last_error_info

Fixes: nodejs/abi-stable-node#251

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc, n-api

Document the lifetime of the structure returned by napi_get_last_error_info Fixes: nodejs/abi-stable-node#251
@nodejs-github-botnodejs-github-bot added doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API. labels Jun 26, 2017
This API retrieves a `napi_extended_error_info` structure with information
about the last error that occurred.
*Note*: The content of the 'napi_extended_error_info` returned is only
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong quote before napi_?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ! Pushed commit to fix.

Copy link
Contributor

@digitalinfinitydigitalinfinity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the same issue as @vsemozhetbyt - other than that LGTM

Copy link
Contributor

@cjihrigcjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with the quote nit addressed.

@mhdawson
Copy link
MemberAuthor

@mhdawson
Copy link
MemberAuthor

CI good landing.

@mhdawson
Copy link
MemberAuthor

Landed as ef28d85

mhdawson added a commit that referenced this pull request Jun 28, 2017
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 29, 2017
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
@addaleaxaddaleax mentioned this pull request Jun 29, 2017
addaleax pushed a commit that referenced this pull request Jul 11, 2017
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
addaleax pushed a commit that referenced this pull request Jul 18, 2017
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
gabrielschulhof pushed a commit to gabrielschulhof/node that referenced this pull request Apr 10, 2018
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: nodejs#13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
MylesBorins pushed a commit that referenced this pull request Apr 16, 2018
Document the lifetime of the structure returned by napi_get_last_error_info Backport-PR-URL: #19447 PR-URL: #13939Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Hitesh Kanwathirtha <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Apr 16, 2018
@mhdawsonmhdawson deleted the napi-doc-lifetime branch September 30, 2019 13:13
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@mhdawson@digitalinfinity@jasnell@cjihrig@vsemozhetbyt@MylesBorins@nodejs-github-bot