summaryrefslogtreecommitdiff
path: root/global.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-01-18 22:16:55 +0100
committertomsmeding <tom.smeding@gmail.com>2017-01-18 22:16:55 +0100
commit6b260962eef4caa486ceee9a60b61c67269025c6 (patch)
treedacf3dfd87d440f998eab8e486996e12132aef01 /global.h
Initial
Diffstat (limited to 'global.h')
-rw-r--r--global.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/global.h b/global.h
new file mode 100644
index 0000000..61d8cee
--- /dev/null
+++ b/global.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include <stdint.h>
+#include <inttypes.h>
+
+typedef int64_t i64;
+typedef uint64_t u64;
+
+
+void throw(const char *format,...) __attribute__((noreturn, format (printf, 1, 2)));