Skip to content

node-api: declare type napi_cleanup_hook

Declare type napi_cleanup_hook so that the function signature can be shared across the codebase.

This has no behavioral change. The type declaration can be available once addons updated their node-api header files, e.g. with https://github.com/nodejs/node-api-headers.

Merge request reports

Loading