wasm_config_delete

Function wasm_config_delete 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasm_config_delete( _config: Option<Box<wasm_config_t>>, )
Expand description

Delete a Wasmer config object.

This function does not need to be called if wasm_engine_new_with_config or another function that takes ownership of the wasm_config_t is called.

ยงExample

int main() {
    // Create the configuration.
    wasm_config_t* config = wasm_config_new();

    // Delete the configuration
    wasm_config_delete(config);

    return 0;
}

cbindgen:ignore