From 5963ef9937c8f6bd8f33cb45c50f70bd9cbc0ffd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 17:42:31 +0200 Subject: [PATCH] feat: update headers from nodejs/node tag v24.9.0 (#60) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- include/js_native_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/js_native_api.h b/include/js_native_api.h index e1d27a8..7bf3311 100644 --- a/include/js_native_api.h +++ b/include/js_native_api.h @@ -348,7 +348,7 @@ napi_create_reference(napi_env env, // Deletes a reference. The referenced value is released, and may // be GC'd unless there are other references to it. -NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(napi_env env, +NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env, napi_ref ref); // Increments the reference count, optionally returning the resulting count. @@ -470,6 +470,7 @@ napi_get_dataview_info(napi_env env, napi_value* arraybuffer, size_t* byte_offset); + // version management NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env, uint32_t* result);