Changed iter_new to inter_init and added new iter_new that allocates the iterator on the heap

This commit is contained in:
Leonardo committed 2019-05-08 11:47:00 -03:00
1 parent 6002650f06
commit c61ac2e347
29 files changed
+261 -71

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ int main(int argc, char const *argv[])
}
deque_iter iter;
d_iter_new(&iter, numbers);
d_iter_init(&iter, numbers);
size_t result, index, sum = 0;