Rename derefence type of an iterator of a dict or a B+Treee into _ittref_t.
This commit is contained in:
1 parent
7a517ee3ae
commit
1e534bd307
4 files changed
+25
-25
No files matched your search
+2
-2
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user