Function napi_sys::setup

source · []
pub unsafe fn setup()
Expand description

Loads N-API symbols from host process. Must be called at least once before using any functions in bindings or they will panic. Safety: env must be a valid napi_env for the current thread