pub unsafe extern "C" fn WasmEdge_ASTModuleListImports(
    Cxt: *const WasmEdge_ASTModuleContext,
    Imports: *mut *const WasmEdge_ImportTypeContext,
    Len: u32
) -> u32
Expand description

List the imports of the AST module.

If the Imports buffer length is smaller than the result of the imports list size, the overflowed return values will be discarded.

\param Cxt the WasmEdge_ASTModuleContext. \param [out] Imports the import type contexts buffer. Can be NULL if import types are not needed. \param Len the buffer length.

\returns actual exported function list size.