protoverse

A metaverse protocol
git clone git://jb55.com/protoverse
Log | Files | Refs | README | LICENSE

debug.h (256B)


      1 
      2 #ifndef PROTOVERSE_DEBUG_H
      3 #define PROTOVERSE_DEBUG_H
      4 
      5 #include <stdio.h>
      6 
      7 #define unusual(...) fprintf(stderr, "UNUSUAL: " __VA_ARGS__)
      8 
      9 #ifdef DEBUG
     10 #define debug(...) printf(__VA_ARGS__)
     11 #else
     12 #define debug(...)
     13 #endif
     14 
     15 #endif /* PROTOVERSE_DEBUG_H */