wasmedge_sys::ffi

Function WasmEdge_ValueGenExternRef

Source
pub unsafe extern "C" fn WasmEdge_ValueGenExternRef(
    Ref: *mut c_void,
) -> WasmEdge_Value
Expand description

Generate the function reference WASM value.

The values generated by this function are only meaningful when the WasmEdge_Proposal_ReferenceTypes turns on in configuration.

\param Ref the reference to the external object.

\returns WasmEdge_Value struct with the external reference.