[][src]Function wamr_sys::wasm_runtime_load_from_sections

pub unsafe extern "C" fn wasm_runtime_load_from_sections(
    section_list: wasm_section_list_t,
    is_aot: bool,
    error_buf: *mut c_char,
    error_buf_size: u32
) -> wasm_module_t

Load a WASM module from a specified WASM or AOT section list.

@param section_list the section list which contains each section data @param is_aot whether the section list is AOT section list @param error_buf output of the exception info @param error_buf_size the size of the exception string

@return return WASM module loaded, NULL if failed