| 118 */ |
118 */ |
| 119 const void *c; |
119 const void *c; |
| 120 } src_handle; |
120 } src_handle; |
| 121 |
121 |
| 122 /** |
122 /** |
| 123 * Field for storing a key-value pair. |
|
| 124 * May be used by iterators that iterate over k/v-collections. |
|
| 125 */ |
|
| 126 struct { |
|
| 127 /** |
|
| 128 * A pointer to the key. |
|
| 129 */ |
|
| 130 const void *key; |
|
| 131 /** |
|
| 132 * A pointer to the value. |
|
| 133 */ |
|
| 134 void *value; |
|
| 135 } kv_data; |
|
| 136 |
|
| 137 /** |
|
| 138 * Field for storing a slot number. |
|
| 139 * May be used by iterators that iterate over multi-bucket collections. |
|
| 140 */ |
|
| 141 size_t slot; |
|
| 142 |
|
| 143 /** |
|
| 144 * If the iterator is position-aware, contains the index of the element in the underlying collection. |
123 * If the iterator is position-aware, contains the index of the element in the underlying collection. |
| 145 * Otherwise, this field is usually uninitialized. |
124 * Otherwise, this field is usually uninitialized. |
| 146 */ |
125 */ |
| 147 size_t index; |
126 size_t index; |
| 148 |
127 |