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

n-api: Retain last code when getting error info #13087

Closed
wants to merge 1 commit into from

Commits on May 17, 2017

  1. n-api: Retain last code when getting error info

    Unlike most N-API functions, `napi_get_last_error_info()` should not
    clear the last error code when successful, because a pointer to (not
    a copy of) the error info structure is returned via an out parameter.
    jasongin committed May 17, 2017
    Configuration menu
    Copy the full SHA
    0d489c8 View commit details
    Browse the repository at this point in the history