summaryrefslogtreecommitdiff
path: root/tanja.h
diff options
context:
space:
mode:
Diffstat (limited to 'tanja.h')
-rw-r--r--tanja.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tanja.h b/tanja.h
index 8a8f41e..a2a208a 100644
--- a/tanja.h
+++ b/tanja.h
@@ -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 *);