diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-12-11 10:49:50 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-12-11 10:51:40 -0500 |
| commit | fa8fa6784559ed0fc8d780e36880273f77e272c4 (patch) | |
| tree | 7456a4e9148d47e409ba837bafdc6238b6c757db /src/utils.h | |
| parent | add ubos (diff) | |
| download | voxel-fa8fa6784559ed0fc8d780e36880273f77e272c4.tar.gz voxel-fa8fa6784559ed0fc8d780e36880273f77e272c4.tar.bz2 voxel-fa8fa6784559ed0fc8d780e36880273f77e272c4.zip | |
i did a lot
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h new file mode 100644 index 0000000..d8feef4 --- /dev/null +++ b/src/utils.h @@ -0,0 +1,10 @@ +#pragma once + +#include "types.h" + +char *read_file(const char *filename); + +_Noreturn void die(void); +void *xalloc(usize size); +void *xrealloc(void *ptr, usize size); +void *xzalloc(usize size); |