about summary refs log tree commit diff
path: root/src/headers/bits-lendian
blob: e0017f55136aa7ef0c18b86377645eade4a1af08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12

#define UINT@BITS@_LITTLE(u) (u)
#define UINT@BITS@_BIG(u) UINT@BITS@_BSWAP(u)

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