aboutsummaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-05-30 21:53:05 +0200
committerDavid Moc <personal@cdatgoose.org>2026-05-30 21:53:05 +0200
commite930cc6bdc7f62befac063d7d9d016ffb0a64f1a (patch)
tree52118a1e990ae88f5f0410c8caea129609e22e19 /include/util.h
Added the old repo, refactored it, added the C jit.
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h
new file mode 100644
index 0000000..9c206fb
--- /dev/null
+++ b/include/util.h
@@ -0,0 +1,10 @@
+#ifndef ECEX_UTIL_H
+#define ECEX_UTIL_H
+
+#include <stddef.h>
+
+int ecex_file_exists(const char *path);
+char *ecex_read_entire_file(const char *path, size_t *out_size);
+char *ecex_strdup(const char *s);
+
+#endif