#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)
