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