[−][src]Function wasmer_runtime_c_api::export::wasmer_exports_destroy
#[no_mangle] pub extern "C" fn wasmer_exports_destroy(exports: *mut wasmer_exports_t)
Frees the memory for the given exports.
Check the wasmer_instance_exports()
function to get a complete
example.
If exports
is a null pointer, this function does nothing.
Example:
// Get some exports.
wasmer_exports_t *exports = NULL;
wasmer_instance_exports(instance, &exports);
// Destroy the exports.
wasmer_exports_destroy(exports);