diff options
author | Freya Murphy <freya@freyacat.org> | 2023-12-17 11:10:04 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2023-12-17 11:10:04 -0500 |
commit | e0eacfa9773c83850ed5169d1e889ff845180581 (patch) | |
tree | 9f8bb433404ce7e4dda1b86ca4dd5d5a2fba10e9 /src/map.h | |
parent | snbt (diff) | |
download | nbtvis-main.tar.gz nbtvis-main.tar.bz2 nbtvis-main.zip |
Diffstat (limited to '')
-rw-r--r-- | lib/map.h (renamed from src/map.h) | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,14 +2,14 @@ #include <stdint.h> -typedef struct tag_t tag_t; +struct tag_t; typedef struct { uint32_t len; uint32_t capacity; - tag_t *entries; + struct tag_t *entries; } map_t; void map_init(map_t *map); void map_free(map_t *map); -void map_put(map_t *map, tag_t *tag); +void map_put(map_t *map, struct tag_t *tag); |