Rename derefence type of an iterator of a dict or a B+Treee into _ittref_t.

This commit is contained in:
Patrick Pelissier committed 2020-10-16 21:01:29 +02:00
1 parent 7a517ee3ae
commit 1e534bd307
4 files changed
+25 -25

No files matched your search

+2 -2
View File
@@ -443,7 +443,7 @@ static void test_it_oa(void)
dict_oa_int_it_t it;
size_t s = 0;
for(dict_oa_int_it(it, d1); !dict_oa_int_end_p(it); dict_oa_int_next(it)) {
dict_oa_int_type_t *pair = dict_oa_int_ref(it);
dict_oa_int_itref_t *pair = dict_oa_int_ref(it);
assert (pair->key >= 0 && pair->key < 200);
assert (pair->value == pair->key + 1);
s++;
@@ -469,7 +469,7 @@ static void test_it_oa(void)
s = 0;
for(dict_oa_int_it_last(it, d1); !dict_oa_int_end_p(it); dict_oa_int_previous(it)) {
dict_oa_int_type_t *pair = dict_oa_int_ref(it);
dict_oa_int_itref_t *pair = dict_oa_int_ref(it);
assert (pair->key >= 0 && pair->key < 200);
assert (pair->value == pair->key + 1);
s++;