wasm_ref_set_host_info_with_finalizer

Function wasm_ref_set_host_info_with_finalizer 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_ref_set_host_info_with_finalizer( _ref: Option<&wasm_ref_t>, _info: *mut c_void, _finalizer: Option<extern "C" fn(*mut c_void)>, )
Expand description

Sets the host information of the wasm_ref_t to info with the associated finalizer.

The finalizer is run when deleting the wasm_ref_t.

ยงNote

This API is unsupported and will panic upon use.