ocarina/include/print.h
Bryan Schumaker 258875bdb8 libsaria: Move header files out of include/libsaria/
Ocarina no longer has a header file subdirectory so there is no reason
to have a libsaria subdirectory anymore.  Putting header files directly
in the include/ directory is a bit simpler.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-12 08:15:31 -04:00

16 lines
310 B
C++

#ifndef LIBSARIA_PRINT
#define LIBSARIA_PRINT
#include <string>
using namespace std;
#ifdef DEBUG
void print(string, ...);
void println(string, ...);
#else /* DEBUG */
static inline void print(string fmt, ...) {}
static inline void println(string fmt, ...) {}
#endif /* DEBUG */
#endif /* LIBSARIA_PRINT */