Skip to content

Commit 5963ef9

Browse files
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>
1 parent 00e015c commit 5963ef9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/js_native_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ napi_create_reference(napi_env env,
348348

349349
// Deletes a reference. The referenced value is released, and may
350350
// be GC'd unless there are other references to it.
351-
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(napi_env env,
351+
NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env,
352352
napi_ref ref);
353353

354354
// Increments the reference count, optionally returning the resulting count.
@@ -470,6 +470,7 @@ napi_get_dataview_info(napi_env env,
470470
napi_value* arraybuffer,
471471
size_t* byte_offset);
472472

473+
473474
// version management
474475
NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env,
475476
uint32_t* result);

0 commit comments

Comments
 (0)