diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-03-14 11:05:35 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-03-14 11:05:35 +0100 |
commit | 54064158d84fc4006e651deb314cde156cc383e8 (patch) | |
tree | a534f160fe02b593143e03aaaf52f65513352c90 /global.h |
Register working
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/global.h b/global.h new file mode 100644 index 0000000..de0873b --- /dev/null +++ b/global.h @@ -0,0 +1,14 @@ +#pragma once + +#include <stdbool.h> +#include <stdint.h> +#include <inttypes.h> +#include "memory.h" + +typedef int64_t i64; +typedef uint64_t u64; + +void die(const char *format,...) __attribute__((noreturn, format(printf, 1, 2))); +void die_perror(const char *func) __attribute__((noreturn)); + +void debug(const char *format,...) __attribute__((format(printf, 1, 2))); |