wamr_sys

Function wasm_table_get_func_inst

Source
pub unsafe extern "C" fn wasm_table_get_func_inst(
    module_inst: wasm_module_inst_t,
    table_inst: *const wasm_table_inst_t,
    idx: u32,
) -> wasm_function_inst_t
Expand description

Get a function instance from a table.

@param module_inst the module instance @param table_inst the table instance @param idx the index in the table

@return the function instance if successful, NULL otherwise