[−][src]Function wasmer_runtime_c_api::import::wasmer_import_object_iter_next
#[no_mangle] pub unsafe extern "C" fn wasmer_import_object_iter_next(
import_object_iter: *mut wasmer_import_object_iter_t,
import: *mut wasmer_import_t
) -> wasmer_result_t
Writes the next value to import
. WASMER_ERROR
is returned if there
was an error or there's nothing left to return.
To free the memory allocated here, pass the import to wasmer_import_object_imports_destroy
.
To check if the iterator is done, use wasmer_import_object_iter_at_end
.