Files
Gabriel Schulhofandlegendecas e22d853c5d n-api: define release 6
Mark all N-APIs that have been added since version 5 as stable.

Backport-PR-URL: https://github.com/nodejs/node/pull/32482
PR-URL: https://github.com/nodejs/node/pull/32058
Fixes: https://github.com/nodejs/abi-stable-node/issues/393
Co-Authored-By: legendecas <legendecas@gmail.com>
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2020-04-28 16:00:37 +02:00

11 lines
257 B
C

#include <stdio.h>
#include <stdlib.h>
#include <node_api.h>
napi_value addon_new(napi_env env, napi_value exports, bool ref_first);
// static napi_value
NAPI_MODULE_INIT(/*napi_env env, napi_value exports */) {
return addon_new(env, exports, false);
}