Commit | Line | Data |
---|---|---|
cf76e892 JPM |
1 | // |
2 | // log.h: Logfile support | |
3 | // | |
4 | ||
5 | #ifndef __LOG_H__ | |
6 | #define __LOG_H__ | |
7 | ||
8 | #include <stdio.h> | |
9 | ||
10 | #ifdef __cplusplus | |
11 | extern "C" { | |
12 | #endif | |
13 | ||
14 | int LogInit(const char *); | |
15 | FILE * LogGet(void); | |
16 | void LogDone(void); | |
17 | void WriteLog(const char * text, ...); | |
18 | ||
19 | #ifdef __cplusplus | |
20 | } | |
21 | #endif | |
22 | ||
23 | // Some useful defines... :-) | |
24 | //#define GPU_DEBUG | |
25 | //#define LOG_BLITS | |
26 | ||
27 | #endif // __LOG_H__ |