[−][src]Function wasmer_runtime_c_api::import::wasmer_import_func_returns
#[no_mangle] pub unsafe extern "C" fn wasmer_import_func_returns(
func: *const wasmer_import_func_t,
returns: *mut wasmer_value_tag,
returns_len: c_uint
) -> wasmer_result_t
Sets the returns buffer to the parameter types of the given wasmer_import_func_t
Returns wasmer_result_t::WASMER_OK
upon success.
Returns wasmer_result_t::WASMER_ERROR
upon failure. Use wasmer_last_error_length
and wasmer_last_error_message
to get an error message.