Commit 86c0ebf4 authored by Michael Dawson's avatar Michael Dawson Committed by Myles Borins
Browse files

n-api: add napi_get_version

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

Backport-PR-URL: https://github.com/nodejs/node/pull/19447
PR-URL: https://github.com/nodejs/node/pull/13207
Fixes: https://github.com/nodejs/abi-stable-node/issues/231


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarJason Ginchereau <jasongin@microsoft.com>
parent 1829d259
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