From 7d9b5a0c84a931542c088cfe6bc4325be22ecb71 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 25 Aug 2016 11:16:49 +0200 Subject: Initial commit --- compiler/error.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 compiler/error.h (limited to 'compiler/error.h') 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 -- cgit v1.2.3