diff options
Diffstat (limited to 'uscript/map.h')
| -rw-r--r-- | uscript/map.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/uscript/map.h b/uscript/map.h new file mode 100644 index 0000000..83ff09e --- /dev/null +++ b/uscript/map.h @@ -0,0 +1,11 @@ +#ifndef __USCRIPT_MAP_H__ +#define __USCRIPT_MAP_H__ + +#include "common.h" +#include "val.h" + +void map_set_value(struct us_map *map, struct us_val k, struct us_val v); +// returns false if it could not find the key +bool map_get_value(struct us_map *map, struct us_val k, struct us_val *v); + +#endif // __USCRIPT_MAP_H__ |
