summaryrefslogtreecommitdiff
path: root/src/lib.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2023-12-16 11:47:59 -0500
committerFreya Murphy <freya@freyacat.org>2023-12-16 11:47:59 -0500
commit85ba301f52b1c7e1ad928803b14b6c70776f2235 (patch)
tree28902147b9bf6c393497e21b0cb21c8b957aa3e2 /src/lib.h
parentfix hang on incomplete json ident (diff)
downloadnbtvis-85ba301f52b1c7e1ad928803b14b6c70776f2235.tar.gz
nbtvis-85ba301f52b1c7e1ad928803b14b6c70776f2235.tar.bz2
nbtvis-85ba301f52b1c7e1ad928803b14b6c70776f2235.zip
use hashmap for compound tag
Diffstat (limited to '')
-rw-r--r--src/lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.h b/src/lib.h
index c007187..35cbc3c 100644
--- a/src/lib.h
+++ b/src/lib.h
@@ -9,4 +9,5 @@ __attribute__((__noreturn__, format(printf, 1, 2)))
void perror_and_die(char *format, ...);
void *xalloc(size_t amount);
+void *xzalloc(size_t amount);
void *xrealloc(void *ptr, size_t amount);