summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-03 14:13:26 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-03 14:13:26 -0400
commit19a52402126c96c759f416d65f7a1925c32aead5 (patch)
treeaaab309b5663f517ffd94609cb0ec6e21429fa18 /toc.c
parente3634dd87fa6598610088e3d5622e6d35f80e19f (diff)
started switching array system
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/toc.c b/toc.c
index dc8204d..94e74a8 100644
--- a/toc.c
+++ b/toc.c
@@ -10,28 +10,7 @@
#include <inttypes.h>
#include <stdbool.h>
-typedef int64_t Integer;
-typedef uint64_t UInteger;
-typedef long double Floating; /* OPTIM: Switch to double, but make sure floating-point literals are right */
-
-#define INTEGER_MAX INT64_MAX
-#define UINTEGER_MAX UINT64_MAX
-#define INTEGER_FMT "%"PRId64
-#define UINTEGER_FMT "%"PRIu64
-
-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;
-
+#include "types.h"
#include "location.c"
#include "err.c"