#[unsafe(no_mangle)]pub unsafe extern "C" fn obj_iter_next(
iter: *mut obj_iter_t,
out_id: *mut u64,
out_payload: *mut *mut u8,
out_payload_len: *mut usize,
) -> obj_error_tExpand description
Step the iterator. On OBJ_OK the caller owns *out_payload
(length *out_payload_len) and MUST free it with
obj_free_buffer. Returns OBJ_ERR_NOT_FOUND at end-of-
iteration; a real engine failure surfaces as the corresponding
error code.
ยงSafety
itermust be a live iterator handle.out_id,out_payload,out_payload_lenmust be writable.