Function wasmedge_sys::ffi::WasmEdge_FunctionTypeGetReturns
source · pub unsafe extern "C" fn WasmEdge_FunctionTypeGetReturns(
Cxt: *const WasmEdge_FunctionTypeContext,
List: *mut WasmEdge_ValType,
Len: u32
) -> u32
Expand description
Get the return types list from the WasmEdge_FunctionTypeContext.
If the List
buffer length is smaller than the length of the return type
list, the overflowed values will be discarded.
\param Cxt the WasmEdge_FunctionTypeContext. \param [out] List the WasmEdge_ValType buffer to fill the return value types. \param Len the value type buffer length.
\returns the actual return types list length.