Commit f5b08711 authored by Gary Neveu's avatar Gary Neveu
Browse files

rho

parent 5d590025
Loading
Loading
Loading
Loading
+4.11 KiB (13.8 KiB)

File changed.

No diff preview for this file type.

+3 −4
Original line number Diff line number Diff line
@@ -14,12 +14,12 @@ struct hash_tbl {

typedef struct hash_tbl* hash_tbl;

hash_tbl htbl_empty(size_t (*h)(void*),
                    int (*eq)(void*, void*),
                    void (*free)(void*)){
hash_tbl htbl_empty(size_t (*h)(void*), int (*eq)(void*, void*), void (*free)(void*)){

}

int htbl_add(hash_tbl htbl, void* x){

}

int htbl_in(hash_tbl htbl, void* x){
@@ -27,4 +27,3 @@ int htbl_in(hash_tbl htbl, void* x){

void htbl_destroy(hash_tbl htbl){
}
  
+48 B (4.54 KiB)

File changed.

No diff preview for this file type.

+5 −0
Original line number Diff line number Diff line
@@ -8,6 +8,11 @@ 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;
}
+112 B (6.23 KiB)

File changed.

No diff preview for this file type.

Loading