Function mentat_ffi::row_at_index [] [src]

#[no_mangle]
pub unsafe extern "C" fn row_at_index(
    rows: *mut RelResult<Binding>,
    index: c_int
) -> *mut Vec<Binding>

Returns the value at the provided index as a Vec<ValueType>. If there is no value present at the index, a null pointer is returned.

Safety

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