[][src]Module wasmer_runtime_c_api::export

Create, read, destroy export definitions (function, global, memory and table) on an instance.

Structs

NamedExportDescriptors

Intermediate representation of a vector of NamedExportDescriptor that is exposed to C.

wasmer_export_descriptor_t

Opaque pointer to NamedExportDescriptor.

wasmer_export_descriptors_t

Opaque pointer to NamedExportDescriptors.

wasmer_export_func_t

Opaque pointer to wasmer_export_t.

wasmer_export_t

Opaque pointer to NamedExport.

wasmer_exports_t

Opaque pointer to the opaque structure crate::NamedExports, which is a wrapper around a vector of the opaque structure crate::NamedExport.

Enums

wasmer_import_export_kind

List of export/import kinds.

Functions

wasmer_export_descriptor_kind

Gets export descriptor kind

wasmer_export_descriptor_name

Gets name for the export descriptor

wasmer_export_descriptors

Gets export descriptors for the given module

wasmer_export_descriptors_destroy

Frees the memory for the given export descriptors

wasmer_export_descriptors_get

Gets export descriptor by index

wasmer_export_descriptors_len

Gets the length of the export descriptors

wasmer_export_func_call

Calls a func with the provided parameters. Results are set using the provided results pointer.

wasmer_export_func_params

Sets the params buffer to the parameter types of the given wasmer_export_func_t

wasmer_export_func_params_arity

Sets the result parameter to the arity of the params of the wasmer_export_func_t

wasmer_export_func_returns

Sets the returns buffer to the parameter types of the given wasmer_export_func_t

wasmer_export_func_returns_arity

Sets the result parameter to the arity of the returns of the wasmer_export_func_t

wasmer_export_kind

Gets wasmer_export kind

wasmer_export_name

Gets name from wasmer_export

wasmer_export_to_func

Gets export func from export

wasmer_export_to_memory

Gets a memory pointer from an export pointer.

wasmer_exports_destroy

Frees the memory for the given exports.

wasmer_exports_get

Gets wasmer_export by index

wasmer_exports_len

Gets the length of the exports

Unions

wasmer_import_export_value

Union of import/export value.