Commit 00b09b74 authored by Oumoul Kiramy Bah's avatar Oumoul Kiramy Bah
Browse files

premier depot

parent cc6bb2ce
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
#include<stdlib.h>
struct cell_t {
  void* val;
  unsigned long int id;
@@ -7,12 +8,16 @@ struct cell_t {
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 list_push(list_t l, void* x){
}

list_t list_tail(list_t l){
@@ -34,3 +39,4 @@ void* list_in(list_t l, void* x, int (*eq)(void*, void*)){
unsigned long int list_len(list_t l){
}

*/