pub unsafe extern "C" fn aws_hash_iter_next(iter: *mut aws_hash_iter)
Expand description

Updates iterator so that it points to next element of hash table.

This and the two previous functions are designed to be used together with the following idiom:

for (struct aws_hash_iter iter = aws_hash_iter_begin(&map); !aws_hash_iter_done(&iter); aws_hash_iter_next(&iter)) { const key_type key = *(const key_type *)iter.element.key; value_type value = *(value_type *)iter.element.value; // etc. }

Note that calling this on an iter which is “done” is idempotent: i.e. it will return another iter which is “done”.