diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-25 15:52:18 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-25 15:52:18 +0000 |
commit | 00c9cb1b22cc17c4db573e0e613a5f116ff0092e (patch) | |
tree | 53178b2c52c6e97c6193f73378f3c5e5a781a914 /src/headers/ulong-64 | |
parent | 2746b131aa482ac17c94bc6b82e58dbcc1b752cf (diff) | |
download | skalibs-00c9cb1b22cc17c4db573e0e613a5f116ff0092e.tar.xz |
More work on the types. This commit builds but has errors.
Rework src/headers entirely: build skalibs/types.h
Convert skalibs/fmtscan.h types.
Propagate changes until it builds.
There are a lot of incompatible pointer issues remaining, those will be fixed with the buffer overhaul.
Diffstat (limited to 'src/headers/ulong-64')
-rw-r--r-- | src/headers/ulong-64 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/headers/ulong-64 b/src/headers/ulong-64 deleted file mode 100644 index 016fd1f..0000000 --- a/src/headers/ulong-64 +++ /dev/null @@ -1,32 +0,0 @@ -#include <skalibs/uint64.h> - -#define ULONG_PACK 8 -#define ulong_pack uint64_pack -#define ulong_pack_big uint64_pack_big -#define ulong_unpack(s, u) uint64_unpack(s, (uint64 *)(char *)(u)) -#define ulong_unpack_big(s, u) uint64_unpack_big(s, (uint64 *)(char *)(u)) - -#define ulong_reverse uint64_reverse -#define ulong_big_endian uint64_big_endian -#define ulong_little_endian uint64_little_endian - -#define ULONG_FMT UINT64_FMT -#define ULONG_OFMT UINT64_OFMT -#define ULONG_XFMT UINT64_XFMT -#define ULONG_BFMT UINT64_BFMT - -#define ulong_fmt uint64_fmt -#define ulong0_fmt uint640_fmt -#define ulong_ofmt uint64_ofmt -#define ulong0_ofmt uint640_ofmt -#define ulong_xfmt uint64_xfmt -#define ulong0_xfmt uint640_xfmt -#define ulong_bfmt uint64_bfmt -#define ulong0_bfmt uint640_bfmt - -#define ulong_fmtlist(s, tab, n) uint64_fmtlist(s, tab, n) - -#define ulong_scan_base(s, u, b) uint64_scan_base(s, (uint64 *)(char *)(u), b) -#define ulong0_scan_base(s, u, b) uint640_scan_base(s, (uint64 *)(char *)(u), b) - -#define ulong_scanlist(tab, max, s, num) uint64_scanlist(tab, max, s, num) |