Fixed a crash when DWARF report a source line number exceeding the number of lines...
[clinton/Virtual-Jaguar-Rx.git] / src / log.h
1 //
2 // log.h: Logfile support
3 //
4
5 #ifndef __LOG_H__
6 #define __LOG_H__
7
8 #include <stdio.h>
9
10 #if 0
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 #endif
15
16 extern int LogInit(const char *);
17 extern FILE * LogGet(void);
18 extern void LogDone(void);
19 extern void WriteLog(const char * text, ...);
20
21 #if 0
22 #ifdef __cplusplus
23 }
24 #endif
25 #endif
26
27 // Some useful defines... :-) but not used
28 //#define GPU_DEBUG
29 //#define LOG_BLITS
30
31 #endif // __LOG_H__