8a5afd6915
write a portable version of endian.h, to replace the system's endian.h.
...
utilising GNU C standard library for some of the functionality, or GNU C
extensions.
2025-09-10 10:13:26 +02:00
0baadfca75
update copyright information in all files
...
the comment was using single-line comments, I prefer multi-line comments
now.
This bothered me for much too long.
2025-08-29 09:36:55 +02:00
1d5df8df0a
apply new formatting rules to the whole project
2025-07-24 16:29:03 +02:00
ee1811a3a5
rewrite endian header to not interfere with the endian system header.
...
the system header is inconsistently available across platforms.
This header provides the same functionality for less of the cost,
overriding the system macros.
2025-07-18 10:29:08 +02:00
9b9a20e226
we are using GNU extensions, using __builtin_bswap* is fine.
2025-07-07 14:27:28 +02:00
2d059cf1db
apply new formatting rules
2025-07-03 10:55:33 +02:00
80b8b65b73
define short-hand types for int32/uint32 et cetera
2025-06-20 20:39:59 +02:00
1c8e3252e6
for byte swapping, now use a seperate header in which the compatibility code lives
2025-06-15 15:54:38 +02:00
bb1b36127e
make compat/endian.h use different methods for swapping bytes depending on what is available
2025-06-15 13:57:52 +02:00
0f97969254
add compatibility headers
2025-06-02 12:41:01 +02:00