Lassi Kortela
12fb30462b
Simplify endian (byte order) detection
...
The following:
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
are apparently semi-standard nowadays.
2019-08-09 21:30:30 +03:00
Lassi Kortela
5817003816
Replace index_t with uintptr_t
2019-08-09 21:13:48 +03:00
Lassi Kortela
c0ef0c2549
Remove more useless typedefs
2019-08-09 21:11:40 +03:00
Lassi Kortela
36fd757689
Replace ptrint_t with standard intptr_t
2019-08-09 21:07:16 +03:00
Lassi Kortela
b35ab48437
Replace "preferred int type" with intptr_t
2019-08-09 21:04:19 +03:00
Lassi Kortela
d6a4029dde
Replace idiosyncratic C types with standard ones
...
For number types, we rely on classic C types (char, short, int, long) to be
the correct sizes. For precise bit widths, use standard intN_t and uintN_t.
For size_t, just use system size_t.
2019-08-09 21:00:03 +03:00
Lassi Kortela
d5d7406276
Remove unused Boehm GC hooks
2019-08-09 20:37:42 +03:00
Lassi Kortela
45a7ec7bc4
Remove include protections
...
Since we no longer have recursive includes, we don't need them. Removing the
protections uncovered a couple of accidental double-includes: good.
2019-08-09 19:47:22 +03:00
Lassi Kortela
d6f54bc13c
Consolidate all C files into a "c" subdirectory
2019-08-09 15:02:58 +03:00