|
WASM_API_EXTERN own wasm_config_t * | wasm_config_new (void) |
|
WASM_API_EXTERN own wasm_config_t * | wasm_config_set_mem_alloc_opt (wasm_config_t *, mem_alloc_type_t, MemAllocOption *) |
|
WASM_API_EXTERN own wasm_config_t * | wasm_config_set_linux_perf_opt (wasm_config_t *, bool) |
|
WASM_API_EXTERN wasm_config_t * | wasm_config_set_segue_flags (wasm_config_t *config, uint32_t segue_flags) |
|
WASM_API_EXTERN own wasm_engine_t * | wasm_engine_new (void) |
|
WASM_API_EXTERN own wasm_engine_t * | wasm_engine_new_with_config (wasm_config_t *) |
|
WASM_API_DEPRECATED WASM_API_EXTERN own wasm_engine_t * | wasm_engine_new_with_args (mem_alloc_type_t type, const MemAllocOption *opts) |
|
WASM_API_EXTERN own wasm_store_t * | wasm_store_new (wasm_engine_t *) |
|
WASM_API_EXTERN own wasm_valtype_t * | wasm_valtype_new (wasm_valkind_t) |
|
WASM_API_EXTERN wasm_valkind_t | wasm_valtype_kind (const wasm_valtype_t *) |
|
WASM_API_EXTERN own wasm_functype_t * | wasm_functype_new (own wasm_valtype_vec_t *params, own wasm_valtype_vec_t *results) |
|
const WASM_API_EXTERN wasm_valtype_vec_t * | wasm_functype_params (const wasm_functype_t *) |
|
const WASM_API_EXTERN wasm_valtype_vec_t * | wasm_functype_results (const wasm_functype_t *) |
|
WASM_API_EXTERN own wasm_globaltype_t * | wasm_globaltype_new (own wasm_valtype_t *, wasm_mutability_t) |
|
const WASM_API_EXTERN wasm_valtype_t * | wasm_globaltype_content (const wasm_globaltype_t *) |
|
WASM_API_EXTERN wasm_mutability_t | wasm_globaltype_mutability (const wasm_globaltype_t *) |
|
WASM_API_EXTERN own wasm_tabletype_t * | wasm_tabletype_new (own wasm_valtype_t *, const wasm_limits_t *) |
|
const WASM_API_EXTERN wasm_valtype_t * | wasm_tabletype_element (const wasm_tabletype_t *) |
|
const WASM_API_EXTERN wasm_limits_t * | wasm_tabletype_limits (const wasm_tabletype_t *) |
|
WASM_API_EXTERN own wasm_memorytype_t * | wasm_memorytype_new (const wasm_limits_t *) |
|
const WASM_API_EXTERN wasm_limits_t * | wasm_memorytype_limits (const wasm_memorytype_t *) |
|
WASM_API_EXTERN wasm_externkind_t | wasm_externtype_kind (const wasm_externtype_t *) |
|
WASM_API_EXTERN wasm_externtype_t * | wasm_functype_as_externtype (wasm_functype_t *) |
|
WASM_API_EXTERN wasm_externtype_t * | wasm_globaltype_as_externtype (wasm_globaltype_t *) |
|
WASM_API_EXTERN wasm_externtype_t * | wasm_tabletype_as_externtype (wasm_tabletype_t *) |
|
WASM_API_EXTERN wasm_externtype_t * | wasm_memorytype_as_externtype (wasm_memorytype_t *) |
|
WASM_API_EXTERN wasm_functype_t * | wasm_externtype_as_functype (wasm_externtype_t *) |
|
WASM_API_EXTERN wasm_globaltype_t * | wasm_externtype_as_globaltype (wasm_externtype_t *) |
|
WASM_API_EXTERN wasm_tabletype_t * | wasm_externtype_as_tabletype (wasm_externtype_t *) |
|
WASM_API_EXTERN wasm_memorytype_t * | wasm_externtype_as_memorytype (wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_functype_as_externtype_const (const wasm_functype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_globaltype_as_externtype_const (const wasm_globaltype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_tabletype_as_externtype_const (const wasm_tabletype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_memorytype_as_externtype_const (const wasm_memorytype_t *) |
|
const WASM_API_EXTERN wasm_functype_t * | wasm_externtype_as_functype_const (const wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_globaltype_t * | wasm_externtype_as_globaltype_const (const wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_tabletype_t * | wasm_externtype_as_tabletype_const (const wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_memorytype_t * | wasm_externtype_as_memorytype_const (const wasm_externtype_t *) |
|
WASM_API_EXTERN own wasm_importtype_t * | wasm_importtype_new (own wasm_name_t *module, own wasm_name_t *name, own wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_name_t * | wasm_importtype_module (const wasm_importtype_t *) |
|
const WASM_API_EXTERN wasm_name_t * | wasm_importtype_name (const wasm_importtype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_importtype_type (const wasm_importtype_t *) |
|
WASM_API_EXTERN bool | wasm_importtype_is_linked (const wasm_importtype_t *) |
|
WASM_API_EXTERN own wasm_exporttype_t * | wasm_exporttype_new (own wasm_name_t *, own wasm_externtype_t *) |
|
const WASM_API_EXTERN wasm_name_t * | wasm_exporttype_name (const wasm_exporttype_t *) |
|
const WASM_API_EXTERN wasm_externtype_t * | wasm_exporttype_type (const wasm_exporttype_t *) |
|
WASM_API_EXTERN void | wasm_val_delete (own wasm_val_t *v) |
|
WASM_API_EXTERN void | wasm_val_copy (own wasm_val_t *out, const wasm_val_t *) |
|
WASM_API_EXTERN own wasm_frame_t * | wasm_frame_copy (const wasm_frame_t *) |
|
WASM_API_EXTERN struct wasm_instance_t * | wasm_frame_instance (const wasm_frame_t *) |
|
WASM_API_EXTERN uint32_t | wasm_frame_func_index (const wasm_frame_t *) |
|
WASM_API_EXTERN size_t | wasm_frame_func_offset (const wasm_frame_t *) |
|
WASM_API_EXTERN size_t | wasm_frame_module_offset (const wasm_frame_t *) |
|
WASM_API_EXTERN own wasm_trap_t * | wasm_trap_new (wasm_store_t *store, const wasm_message_t *) |
|
WASM_API_EXTERN void | wasm_trap_message (const wasm_trap_t *, own wasm_message_t *out) |
|
WASM_API_EXTERN own wasm_frame_t * | wasm_trap_origin (const wasm_trap_t *) |
|
WASM_API_EXTERN void | wasm_trap_trace (const wasm_trap_t *, own wasm_frame_vec_t *out) |
|
WASM_API_EXTERN own wasm_foreign_t * | wasm_foreign_new (wasm_store_t *) |
|
WASM_API_EXTERN own wasm_module_t * | wasm_module_new (wasm_store_t *, const wasm_byte_vec_t *binary) |
|
WASM_API_EXTERN void | wasm_module_delete (own wasm_module_t *) |
|
WASM_API_EXTERN bool | wasm_module_validate (wasm_store_t *, const wasm_byte_vec_t *binary) |
|
WASM_API_EXTERN void | wasm_module_imports (const wasm_module_t *, own wasm_importtype_vec_t *out) |
|
WASM_API_EXTERN void | wasm_module_exports (const wasm_module_t *, own wasm_exporttype_vec_t *out) |
|
WASM_API_EXTERN void | wasm_module_serialize (wasm_module_t *, own wasm_byte_vec_t *out) |
|
WASM_API_EXTERN own wasm_module_t * | wasm_module_deserialize (wasm_store_t *, const wasm_byte_vec_t *) |
|
WASM_API_EXTERN own wasm_shared_module_t * | wasm_module_share (wasm_module_t *) |
|
WASM_API_EXTERN own wasm_module_t * | wasm_module_obtain (wasm_store_t *, wasm_shared_module_t *) |
|
WASM_API_EXTERN void | wasm_shared_module_delete (own wasm_shared_module_t *) |
|
WASM_API_EXTERN bool | wasm_module_set_name (wasm_module_t *, const char *name) |
|
const WASM_API_EXTERN char * | wasm_module_get_name (wasm_module_t *) |
|
WASM_API_EXTERN own wasm_func_t * | wasm_func_new (wasm_store_t *, const wasm_functype_t *, wasm_func_callback_t) |
|
WASM_API_EXTERN own wasm_func_t * | wasm_func_new_with_env (wasm_store_t *, const wasm_functype_t *type, wasm_func_callback_with_env_t, void *env, void(*finalizer)(void *)) |
|
WASM_API_EXTERN own wasm_functype_t * | wasm_func_type (const wasm_func_t *) |
|
WASM_API_EXTERN size_t | wasm_func_param_arity (const wasm_func_t *) |
|
WASM_API_EXTERN size_t | wasm_func_result_arity (const wasm_func_t *) |
|
WASM_API_EXTERN own wasm_trap_t * | wasm_func_call (const wasm_func_t *, const wasm_val_vec_t *args, wasm_val_vec_t *results) |
|
WASM_API_EXTERN own wasm_global_t * | wasm_global_new (wasm_store_t *, const wasm_globaltype_t *, const wasm_val_t *) |
|
WASM_API_EXTERN own wasm_globaltype_t * | wasm_global_type (const wasm_global_t *) |
|
WASM_API_EXTERN void | wasm_global_get (const wasm_global_t *, own wasm_val_t *out) |
|
WASM_API_EXTERN void | wasm_global_set (wasm_global_t *, const wasm_val_t *) |
|
WASM_API_EXTERN own wasm_table_t * | wasm_table_new (wasm_store_t *, const wasm_tabletype_t *, wasm_ref_t *init) |
|
WASM_API_EXTERN own wasm_tabletype_t * | wasm_table_type (const wasm_table_t *) |
|
WASM_API_EXTERN own wasm_ref_t * | wasm_table_get (const wasm_table_t *, wasm_table_size_t index) |
|
WASM_API_EXTERN bool | wasm_table_set (wasm_table_t *, wasm_table_size_t index, wasm_ref_t *) |
|
WASM_API_EXTERN wasm_table_size_t | wasm_table_size (const wasm_table_t *) |
|
WASM_API_EXTERN bool | wasm_table_grow (wasm_table_t *, wasm_table_size_t delta, wasm_ref_t *init) |
|
WASM_API_EXTERN own wasm_memory_t * | wasm_memory_new (wasm_store_t *, const wasm_memorytype_t *) |
|
WASM_API_EXTERN own wasm_memorytype_t * | wasm_memory_type (const wasm_memory_t *) |
|
WASM_API_EXTERN byte_t * | wasm_memory_data (wasm_memory_t *) |
|
WASM_API_EXTERN size_t | wasm_memory_data_size (const wasm_memory_t *) |
|
WASM_API_EXTERN wasm_memory_pages_t | wasm_memory_size (const wasm_memory_t *) |
|
WASM_API_EXTERN bool | wasm_memory_grow (wasm_memory_t *, wasm_memory_pages_t delta) |
|
WASM_API_EXTERN wasm_externkind_t | wasm_extern_kind (const wasm_extern_t *) |
|
WASM_API_EXTERN own wasm_externtype_t * | wasm_extern_type (const wasm_extern_t *) |
|
WASM_API_EXTERN wasm_extern_t * | wasm_func_as_extern (wasm_func_t *) |
|
WASM_API_EXTERN wasm_extern_t * | wasm_global_as_extern (wasm_global_t *) |
|
WASM_API_EXTERN wasm_extern_t * | wasm_table_as_extern (wasm_table_t *) |
|
WASM_API_EXTERN wasm_extern_t * | wasm_memory_as_extern (wasm_memory_t *) |
|
WASM_API_EXTERN wasm_func_t * | wasm_extern_as_func (wasm_extern_t *) |
|
WASM_API_EXTERN wasm_global_t * | wasm_extern_as_global (wasm_extern_t *) |
|
WASM_API_EXTERN wasm_table_t * | wasm_extern_as_table (wasm_extern_t *) |
|
WASM_API_EXTERN wasm_memory_t * | wasm_extern_as_memory (wasm_extern_t *) |
|
const WASM_API_EXTERN wasm_extern_t * | wasm_func_as_extern_const (const wasm_func_t *) |
|
const WASM_API_EXTERN wasm_extern_t * | wasm_global_as_extern_const (const wasm_global_t *) |
|
const WASM_API_EXTERN wasm_extern_t * | wasm_table_as_extern_const (const wasm_table_t *) |
|
const WASM_API_EXTERN wasm_extern_t * | wasm_memory_as_extern_const (const wasm_memory_t *) |
|
const WASM_API_EXTERN wasm_func_t * | wasm_extern_as_func_const (const wasm_extern_t *) |
|
const WASM_API_EXTERN wasm_global_t * | wasm_extern_as_global_const (const wasm_extern_t *) |
|
const WASM_API_EXTERN wasm_table_t * | wasm_extern_as_table_const (const wasm_extern_t *) |
|
const WASM_API_EXTERN wasm_memory_t * | wasm_extern_as_memory_const (const wasm_extern_t *) |
|
WASM_API_EXTERN own wasm_instance_t * | wasm_instance_new (wasm_store_t *, const wasm_module_t *, const wasm_extern_vec_t *imports, own wasm_trap_t **trap) |
|
WASM_API_EXTERN own wasm_instance_t * | wasm_instance_new_with_args (wasm_store_t *, const wasm_module_t *, const wasm_extern_vec_t *imports, own wasm_trap_t **trap, const uint32_t stack_size, const uint32_t heap_size) |
|
WASM_API_EXTERN own wasm_instance_t * | wasm_instance_new_with_args_ex (wasm_store_t *, const wasm_module_t *, const wasm_extern_vec_t *imports, own wasm_trap_t **trap, const InstantiationArgs *inst_args) |
|
WASM_API_EXTERN void | wasm_instance_exports (const wasm_instance_t *, own wasm_extern_vec_t *out) |
|
WASM_API_EXTERN wasm_extern_t * | wasm_extern_new_empty (wasm_store_t *, wasm_externkind_t) |
|