napi_get_instance_data

Function napi_get_instance_data 

Source
pub unsafe extern "C" fn napi_get_instance_data(
    env: napi_env,
    data: *mut *mut c_void,
) -> napi_status
Available on crate features napi and api-11 only.
Expand description

Retrieves the data that was previously associated with the currently running environment.

§Arguments

  • env - Current running virtual machine context.

  • data - Data item is bound with the ‘env’.

§Returns

  • Returns the function execution status.

Available since API-level: 11