diff options
Diffstat (limited to 'tanja.h')
-rw-r--r-- | tanja.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ struct tn_el { double n; char *s; // TODO: Allow statically allocated strings tn_el *a; - tn_map_el *m; // TODO: Hash table? Or ordered list to allow binary search? + tn_map_el *m; } v; }; @@ -104,7 +104,7 @@ double tn_el_num(tn_el); char *tn_el_str(tn_el, char *); tn_el tn_array_new(char *, ...); void tn_array_append(tn_el *, char *, ...); -tn_el tn_map_new(char *, ...); +tn_el tn_map_new(int, char *, ...); void tn_map_set(tn_el *, char *, ...); tn_el tn_map_get(tn_el, const char *); void tn_tuple_ref(tn_tuple *); |