#[unsafe(no_mangle)]pub unsafe extern "C" fn napi_register_module_v1(
env: *mut c_void,
exports: *mut c_void,
) -> *mut c_voidExpand description
What Node calls when it loads the addon.
The symbol name is the ABI: the runtime looks it up by string, which is why
it is #[no_mangle] and why the version suffix is part of the name.
§Safety
Called once per module instance by the runtime.