wasmedge_sys::ffi

Function WasmEdge_TableTypeCreate

Source
pub unsafe extern "C" fn WasmEdge_TableTypeCreate(
    RefType: WasmEdge_ValType,
    Limit: WasmEdge_Limit,
) -> *mut WasmEdge_TableTypeContext
Expand description

Creation of the WasmEdge_TableTypeContext.

The caller owns the object and should call WasmEdge_TableTypeDelete to destroy it.

\param RefType the value type of the table type. This value type should be a reference type, or this function will fail. \param Limit the limit struct of the table type.

\returns pointer to context, NULL if failed.