Function wasmedge_sys::ffi::WasmEdge_ModuleInstanceListTable
source · pub unsafe extern "C" fn WasmEdge_ModuleInstanceListTable(
Cxt: *const WasmEdge_ModuleInstanceContext,
Names: *mut WasmEdge_String,
Len: u32
) -> u32
Expand description
List the exported table names of a module instance.
The returned table names filled into the Names
array are linked to the
exported names of tables of the module instance context, and the caller
should NOT call the WasmEdge_StringDelete
.
If the Names
buffer length is smaller than the result of the exported
table list size, the overflowed return values will be discarded.
This function is thread-safe.
\param Cxt the WasmEdge_ModuleInstanceContext. \param [out] Names the output WasmEdge_String buffer of the table names. \param Len the buffer length.
\returns actual exported table list size.