summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/toc.c b/toc.c
index a4b6ce3..e36bbd0 100644
--- a/toc.c
+++ b/toc.c
@@ -12,7 +12,21 @@
typedef unsigned long long UInteger;
typedef long long Integer;
-typedef long double Floating; /* OPTIM: Switch to double */
+typedef long double Floating; /* OPTIM: Switch to double, but make sure floating-point literals are right */
+
+typedef uint8_t U8;
+typedef uint16_t U16;
+typedef uint32_t U32;
+typedef uint64_t U64;
+
+typedef int8_t I8;
+typedef int16_t I16;
+typedef int32_t I32;
+typedef int64_t I64;
+
+typedef float F32;
+typedef double F64;
+
#define INTEGER_MAX INT64_MAX
#define UINTEGER_FMT "%llu"
#define INTEGER_FMT "%lld"