aboutsummaryrefslogtreecommitdiffstats
path: root/mem.h
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-07-21 18:54:26 +0800
committerverdant <im@verdant.ee>2026-07-21 18:54:26 +0800
commitfe0b140cf436c1428baa371b809370903df9f47b (patch)
tree83e58aee8ca084bccb487a34ebc23c33e23fe5f4 /mem.h
parent3e4e10c1c1203d605aeceafa8f15e6a3a4aa8033 (diff)
downloadsf-fe0b140cf436c1428baa371b809370903df9f47b.tar.gz
sf-fe0b140cf436c1428baa371b809370903df9f47b.zip
Add xmalloc
Diffstat (limited to 'mem.h')
-rw-r--r--mem.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mem.h b/mem.h
new file mode 100644
index 0000000..8c1c7e2
--- /dev/null
+++ b/mem.h
@@ -0,0 +1,8 @@
+#ifndef SS_MEM_H
+#define SS_MEM_H
+
+#include <stddef.h>
+
+void* xmalloc(size_t size);
+
+#endif /* SS_MEM_H */