wasmtime_c_api

Function wasmtime_func_call

Source
#[no_mangle]
pub unsafe extern "C" fn wasmtime_func_call(
    store: WasmtimeStoreContextMut<'_>,
    func: &Func,
    args: *const wasmtime_val_t,
    nargs: usize,
    results: *mut MaybeUninit<wasmtime_val_t>,
    nresults: usize,
    trap_ret: &mut *mut wasm_trap_t,
) -> Option<Box<wasmtime_error_t>>