aboutsummaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-09-23 21:11:29 +1000
committerquou <quou@disroot.org>2024-09-23 21:11:29 +1000
commit259237fae792e8f19d9b7920b2354f75bc1789e2 (patch)
treeaf079430f30f7df1b76efc4f96f520b0b6eee0af /error.h
initial commit, basic platform and rendering code.
Diffstat (limited to 'error.h')
-rw-r--r--error.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/error.h b/error.h
new file mode 100644
index 0000000..8ef761b
--- /dev/null
+++ b/error.h
@@ -0,0 +1,11 @@
+#ifndef error_h
+#define error_h
+
+typedef enum {
+ error_none,
+ error_assertion_failed,
+ error_platform_error,
+ error_out_of_memory
+} Error;
+
+#endif