picodrive/platform/uiq3/engine/debug.h
notaz f8af96349e UIQ3 bugfixes, SVP drc indirect jumps, stuff
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@572 be3aeb3a-fb24-0410-a615-afba39da0efa
2008-08-24 09:33:12 +00:00

27 lines
627 B
C

#include <e32std.h>
#define __DEBUG_PRINT_C
#define __DEBUG_PRINT_FILE
#if defined(__DEBUG_PRINT) || defined(__WINS__)
#include <e32svr.h> // RDebug
#ifdef __DEBUG_PRINT_FILE
void debugPrintFile(TRefByValue<const TDesC> aFmt, ...);
#define DEBUGPRINT debugPrintFile
#else
#define DEBUGPRINT RDebug::Print
#endif
TDesC* DO_CONV(const char* s);
#ifdef __DEBUG_PRINT_C
#ifdef __cplusplus
extern "C"
#endif
void lprintf(const char *format, ...);
#endif
#else
#define DEBUGPRINT(x...)
#undef __DEBUG_PRINT_C
#undef __DEBUG_PRINT_FILE
#endif
void ExceptionHandler(TExcType exc);