Function mentat_ffi::values_iter_next [] [src]

#[no_mangle]
pub unsafe extern "C" fn values_iter_next(
    iter: *mut TypedValueIterator
) -> *mut TypedValue

Returns the next value in the iter as a ValueType. If there is no value next value, a null pointer is returned.

Safety

Callers must ensure that the pointer to the Vec<TypedValue> is not dangling .

Callers are responsible for managing the memory for the return value. A destructor typed_value_destroy is provided for releasing the memory for this pointer type.