| 128 | } |
| 129 | |
| 130 | static inline gboolean |
| 131 | g_hash_table_iter_next(GHashTableIter * iter, gpointer * key, gpointer * value) |
| 132 | { |
| 133 | gboolean found = FALSE; |
| 134 | |
| 135 | iter->lpc = 0; |
| 136 | iter->key = NULL; |
| 137 | iter->value = NULL; |
| 138 | if (iter->nth < g_hash_table_size(iter->hash)) { |
| 139 | found = ! !g_hash_table_find(iter->hash, g_hash_table_nth_data, iter); |
| 140 | iter->nth++; |
| 141 | } |
| 142 | if (key) |
| 143 | *key = iter->key; |
| 144 | if (value) |
| 145 | *value = iter->value; |
| 146 | return found; |
| 147 | } |
| 148 | |
| 149 | /* Since: 2.16 */ |
| 150 | static inline void |
no outgoing calls