Function wasmedge_sys::ffi::WasmEdge_ModuleInstanceFindTable
source · pub unsafe extern "C" fn WasmEdge_ModuleInstanceFindTable(
Cxt: *const WasmEdge_ModuleInstanceContext,
Name: WasmEdge_String
) -> *mut WasmEdge_TableInstanceContext
Expand description
Get the exported table instance context of a module instance.
The result table instance context links to the table instance in the module
instance context and owned by the module instance context, and the caller
should NOT call the WasmEdge_TableInstanceDelete
.
This function is thread-safe.
\param Cxt the WasmEdge_ModuleInstanceContext. \param Name the table name WasmEdge_String.
\returns pointer to the table instance context. NULL if not found.