Skip to content

n-api: add napi_get_version

Rodrigo Muino Tomonari requested to merge github/fork/mhdawson/napi_version into master

Add napi_get_version function so that addons can query the level of N-API supported.

Fixes: https://github.com/nodejs/abi-stable-node/issues/231

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows [commit guidelines]
Affected core subsystem(s)

n-api

Merge request reports

Loading