Function wasmedge_sys::ffi::WasmEdge_ValueGenNullRef
source · pub unsafe extern "C" fn WasmEdge_ValueGenNullRef(
T: WasmEdge_RefType
) -> WasmEdge_Value
Expand description
Generate the NULL reference WASM value.
The values generated by this function are only meaningful when the
WasmEdge_Proposal_BulkMemoryOperations
or the
WasmEdge_Proposal_ReferenceTypes
turns on in configuration.
\param T the reference type.
\returns WasmEdge_Value struct with the NULL reference.