Function wasmedge_sys::ffi::WasmEdge_ASTModuleListExports
source · pub unsafe extern "C" fn WasmEdge_ASTModuleListExports(
Cxt: *const WasmEdge_ASTModuleContext,
Exports: *mut *const WasmEdge_ExportTypeContext,
Len: u32
) -> u32
Expand description
List the exports of the AST module.
If the Exports
buffer length is smaller than the result of the exports
list size, the overflowed return values will be discarded.
\param Cxt the WasmEdge_ASTModuleContext. \param [out] Exports the export type contexts buffer. Can be NULL if export types are not needed. \param Len the buffer length.
\returns actual exported function list size.