aboutsummaryrefslogtreecommitdiff
path: root/compiler/error.h
diff options
context:
space:
mode:
authorCamil Staps2016-08-25 11:16:49 +0200
committerCamil Staps2016-08-25 11:16:49 +0200
commit7d9b5a0c84a931542c088cfe6bc4325be22ecb71 (patch)
tree085e5ae27cfbabc2e1533f4927969f5784dd1cfc /compiler/error.h
Initial commit
Diffstat (limited to 'compiler/error.h')
-rw-r--r--compiler/error.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/error.h b/compiler/error.h
new file mode 100644
index 0000000..872afd7
--- /dev/null
+++ b/compiler/error.h
@@ -0,0 +1,9 @@
+#ifndef _H_ERROR
+#define _H_ERROR
+
+void error(int code, char* message);
+void error_no_mem(void);
+
+#define ERROR_NO_MEMORY 10
+
+#endif