Commit 45d5a46c authored by Georges Khaly Richard's avatar Georges Khaly Richard
Browse files

premier depot

parent cc6bb2ce
Loading
Loading
Loading
Loading
+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){
+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() {