picodrive/platform/uiq2/debug.h
notaz cc68a136aa initial import
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@2 be3aeb3a-fb24-0410-a615-afba39da0efa
2006-12-19 20:53:21 +00:00

27 lines
657 B
C

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