plong

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.inz.fi/plong
Log | Files | Refs

util.h (211B)


      1 #ifndef UTIL_H
      2 #define UTIL_H
      3 
      4 #define UINTFMT(...) "%ju"
      5 #define UINT_SCAN(X) X(UINTFMT)
      6 #define INTFMT(...) "%jd"
      7 #define INT_SCAN(X) X(INTFMT)
      8 #define COUNTER(...) + 1
      9 #define COUNT(X) (0 X(COUNTER))
     10 
     11 #endif