mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 06:19:07 +00:00

Mark all N-APIs that have been added since version 5 as stable. 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>
11 lines
257 B
C
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);
|
|
}
|