Loading src/list.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ struct cell_t { typedef struct cell_t* list_t; list_t list_empty(){ return NULL; } int list_is_empty(list_t l){ Loading @@ -33,4 +34,3 @@ void* list_in(list_t l, void* x, int (*eq)(void*, void*)){ unsigned long int list_len(list_t l){ } tests/exemple_collision.c +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ int main(){ return 0; } else { i++ l = list_push(l, p); } } Loading tests/list_tests.c +1 −1 Original line number Diff line number Diff line #include <assert.h> #include <stdio.h> #include "linked_list.h" #include "list.h" #include "bignum.h" void test_emptyness() { Loading Loading
src/list.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ struct cell_t { typedef struct cell_t* list_t; list_t list_empty(){ return NULL; } int list_is_empty(list_t l){ Loading @@ -33,4 +34,3 @@ void* list_in(list_t l, void* x, int (*eq)(void*, void*)){ unsigned long int list_len(list_t l){ }
tests/exemple_collision.c +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ int main(){ return 0; } else { i++ l = list_push(l, p); } } Loading
tests/list_tests.c +1 −1 Original line number Diff line number Diff line #include <assert.h> #include <stdio.h> #include "linked_list.h" #include "list.h" #include "bignum.h" void test_emptyness() { Loading