diff options
author | Maria Matejka <mq@ucw.cz> | 2022-06-29 13:22:40 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-11 16:07:09 +0200 |
commit | d5e3272f3d9b1bad7ceb6d0d5897a7269e28a537 (patch) | |
tree | 8cfcb620ea6a8209046dc9beb6857881297f58fa /proto/babel | |
parent | b06911f6ef1b4cd3f7ea541b062187e80a934dd8 (diff) |
Hash: iterable now per partes by an iterator
It's now possible to pause iteration through hash. This requires
struct hash_iterator to be allocated somewhere handy.
The iteration itself is surrounded by HASH_WALK_ITER and
HASH_WALK_ITER_END. Call HASH_WALK_ITER_PUT to ask for pausing; it may
still do some more iterations until it comes to a suitable pausing
point. The iterator must be initalized to an empty structure. No cleanup
is needed if iteration is abandoned inbetween.
Diffstat (limited to 'proto/babel')
0 files changed, 0 insertions, 0 deletions