diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-10-11 08:32:09 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-10-11 08:32:09 +0200 |
commit | 7549d07933091417b225d094c1648e1382287f93 (patch) | |
tree | f533b99745beb808d1cbe226a38e0232076d7b53 /global.h |
Initial
Diffstat (limited to 'global.h')
-rw-r--r-- | global.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/global.h b/global.h new file mode 100644 index 0000000..b0029c6 --- /dev/null +++ b/global.h @@ -0,0 +1,18 @@ +#pragma once + +#include <stdbool.h> +#include <stdint.h> +#include <inttypes.h> +#include <limits.h> +#include "memory.h" + +typedef int8_t i8; +typedef uint8_t u8; +typedef int16_t i16; +typedef uint16_t u16; +typedef int32_t i32; +typedef uint32_t u32; +typedef int64_t i64; +typedef uint64_t u64; + +#define LARGENUM (INT_MAX/32) |