skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

bits-lendian (339B)


      1 
      2 #define UINT@BITS@_LITTLE(u) (u)
      3 #define UINT@BITS@_BIG(u) UINT@BITS@_BSWAP(u)
      4 
      5 #define uint@BITS@_little(u) (u)
      6 #define uint@BITS@_big(u) uint@BITS@_bswap(u)
      7 
      8 #define uint@BITS@_littlep(u)
      9 #define uint@BITS@_bigp(u) uint@BITS@_bswapp(u)
     10 
     11 #define uint@BITS@_littlen(array, n)
     12 #define uint@BITS@_bign(array, n) uint@BITS@_bswapn(array, n)