diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-09-18 18:55:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-09-18 18:55:44 +0000 |
commit | 3534b428629be185e096be99e3bd5fdfe32d5544 (patch) | |
tree | 210ef3198ed66bc7f7b7bf6a85e4579f455e5a36 /src/headers/uint-64 | |
download | skalibs-3534b428629be185e096be99e3bd5fdfe32d5544.tar.xz |
initial commit with rc for skalibs-2.0.0.0
Diffstat (limited to 'src/headers/uint-64')
-rw-r--r-- | src/headers/uint-64 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/headers/uint-64 b/src/headers/uint-64 new file mode 100644 index 0000000..31926d9 --- /dev/null +++ b/src/headers/uint-64 @@ -0,0 +1,34 @@ +#include <skalibs/uint64.h> + +#define UINT_PACK 8 +#define uint_pack uint64_pack +#define uint_pack_big uint64_pack_big +#define uint_unpack(s, u) uint64_unpack(s, (uint64 *)(char *)(u)) +#define uint_unpack_big(s, u) uint64_unpack_big(s, (uint64 *)(char *)(u)) + +#define uint_reverse uint64_reverse +#define uint_big_endian uint64_big_endian +#define uint_little_endian uint64_little_endian + +#define UINT_FMT UINT64_FMT +#define UINT_OFMT UINT64_OFMT +#define UINT_XFMT UINT64_XFMT +#define UINT_BFMT UINT64_BFMT + +#define uint_fmt_base uint64_fmt_base +#define uint0_fmt_base uint640_fmt_base +#define uint_fmt uint64_fmt +#define uint0_fmt uint640_fmt +#define uint_ofmt uint64_ofmt +#define uint0_ofmt uint640_ofmt +#define uint_xfmt uint64_xfmt +#define uint0_xfmt uint640_xfmt +#define uint_bfmt uint64_bfmt +#define uint0_bfmt uint640_bfmt + +#define uint_fmtlist(s, tab, n) uint64_fmtlist(s, tab, n) + +#define uint_scan_base(s, u, b) uint64_scan_base(s, (uint64 *)(char *)(u), b) +#define uint0_scan_base(s, u, b) uint640_scan_base(s, (uint64 *)(char *)(u), b) + +#define uint_scanlist(tab, max, s, num) uint64_scanlist(tab, max, s, num) |