mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 03:39:14 +00:00
2ac9503854
git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@113 ea6a568a-9f4f-0410-981a-c910a81bb256
17 lines
242 B
C++
17 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);
|