From 19492a57fee7ef65fde36734a4c39d9d54401011 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 09:16:34 -0400 Subject: [PATCH] feat: update headers from nodejs/node tag v26.1.0 (#73) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- include/js_native_api_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/js_native_api_types.h b/include/js_native_api_types.h index a0da104..dc4922e 100644 --- a/include/js_native_api_types.h +++ b/include/js_native_api_types.h @@ -157,6 +157,10 @@ typedef void(NAPI_CDECL* napi_finalize)(napi_env env, typedef napi_finalize node_api_nogc_finalize; typedef node_api_nogc_finalize node_api_basic_finalize; +// A finalizer that can be called from any thread and at any time. +typedef void(NAPI_CDECL* node_api_noenv_finalize)(void* finalize_data, + void* finalize_hint); + typedef struct { // One of utf8name or name should be NULL. const char* utf8name;