-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: doc lifetime of n-api last error info #13939
Conversation
Document the lifetime of the structure returned by napi_get_last_error_info Fixes: nodejs/abi-stable-node#251
doc/api/n-api.md
Outdated
@@ -269,6 +269,9 @@ Returns `napi_ok` if the API succeeded. | |||
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 |
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.
Wrong quote before napi_
?
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.
Thanks ! Pushed commit to fix.
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.
I see the same issue as @vsemozhetbyt - other than that LGTM
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.
LGTM with the quote nit addressed.
CI good landing. |
Landed as ef28d85 |
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: #13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned by napi_get_last_error_info PR-URL: nodejs#13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned by napi_get_last_error_info Backport-PR-URL: #19447 PR-URL: #13939 Fixes: nodejs/abi-stable-node#251 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
Document the lifetime of the structure returned
by napi_get_last_error_info
Fixes: nodejs/abi-stable-node#251
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
doc, n-api