258875bdb8
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>
16 lines
310 B
C++
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 */
|