diff --git a/benchmark/napi/ref/addon.c b/benchmark/napi/ref/addon.c index 3fb8de603d3ced..a7d29bcff1f2a0 100644 --- a/benchmark/napi/ref/addon.c +++ b/benchmark/napi/ref/addon.c @@ -1,5 +1,4 @@ #include -#define NAPI_EXPERIMENTAL #include #define NAPI_CALL(env, call) \ @@ -35,7 +34,7 @@ SetCount(napi_env env, napi_callback_info info) { } static void -IncrementCounter(napi_env env, void* data, void* hint) { +IncrementCounter(node_api_nogc_env env, void* data, void* hint) { size_t* count = data; (*count) = (*count) + 1; }