summaryrefslogtreecommitdiff
path: root/src/headers/bits-lendian
blob: e2358d35b55ec82d0835c0fc4a79c50e78f5ac89 (plain)
1
2
3
4
5
6
7
8
9
#define uint@BITS@_little(u) (u)
#define uint@BITS@_big(u) uint@BITS@_bswap(u)

#define uint@BITS@_littlep(u)
#define uint@BITS@_bigp(u) uint@BITS@_bswapp(u)

#define uint@BITS@_littlen(array, n)
#define uint@BITS@_bign(array, n) uint@BITS@_bswapn(array, n)