Commit 2fd22353 authored by Gabriel Schulhof's avatar Gabriel Schulhof
Browse files

n-api: factor out calling pattern



Factor out how we handle a `napi_status`-valued return internally.

Signed-off-by: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
PR-URL: https://github.com/nodejs/node/pull/36113


Reviewed-By: default avatarStephen Belanger <admin@stephenbelanger.com>
Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
parent 187ce5bd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment