[−][src]Function wasmer_runtime_c_api::table::wasmer_table_new
#[no_mangle] pub unsafe extern "C" fn wasmer_table_new(
table: *mut *mut wasmer_table_t,
limits: wasmer_limits_t
) -> wasmer_result_t
Creates a new Table for the given descriptor and initializes the given pointer to pointer to a pointer to the new Table.
The caller owns the object and should call wasmer_table_destroy
to free it.
Returns wasmer_result_t::WASMER_OK
upon success.
Returns wasmer_result_t::WASMER_ERROR
upon failure. Use wasmer_last_error_length
and wasmer_last_error_message
to get an error message.