1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 12:53:52 +00:00
openmw/old_d_version/util/dbg.h
2009-12-19 21:31:22 +00:00

16 lines
242 B
C++

#include <iostream>
extern "C" void dbg_trace(const char *);
extern "C" void dbg_untrace();
class MTrace
{
public:
MTrace(const char* str)
{ dbg_trace(str); }
~MTrace()
{ dbg_untrace(); }
};
#define TRACE(x) MTrace __trc(x);