Loading src/list.c +9 −2 Original line number Diff line number Diff line struct cell_t { #include <stdlib.h> #include "list.h" /*struct cell_t { void* val; unsigned long int id; struct cell_t* next; }; typedef struct cell_t* list_t; //shh_keygen -t rsa typedef struct cell_t* list_t;*/ list_t list_empty(){ return NULL ; } int list_is_empty(list_t l){ return l == NULL ; } list_t list_push(list_t l, void* x){ list_t nouveau = malloc (sizeof ( cell_t )); } list_t list_tail(list_t l){ 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 +9 −2 Original line number Diff line number Diff line struct cell_t { #include <stdlib.h> #include "list.h" /*struct cell_t { void* val; unsigned long int id; struct cell_t* next; }; typedef struct cell_t* list_t; //shh_keygen -t rsa typedef struct cell_t* list_t;*/ list_t list_empty(){ return NULL ; } int list_is_empty(list_t l){ return l == NULL ; } list_t list_push(list_t l, void* x){ list_t nouveau = malloc (sizeof ( cell_t )); } list_t list_tail(list_t l){ 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