Changeset 33
- Timestamp:
- Dec 12, 2010, 2:57:51 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified include/os2/ddk/GL/gldebug.h ¶
r1 r33 29 29 #include <stdio.h> 30 30 31 #define gl_error(str) (fprintf(stderr, "Errorin file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str))31 #define GLERROR(str) (fprintf(stderr, "ERROR in file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str)) 32 32 33 33 #ifdef __DEBUG__ 34 #define gl_debug(s) (fprintf(stderr, "Error in file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str)) 35 #define gl_dprintf(s) (fprintf(stderr, "Debug in file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str)) 34 #define GLDEBUG(str) (fprintf(stderr, "ERROR in file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str)) 35 #define GLDPRINTF(str) (fprintf(stderr, "DEBUG in file: %s, function: %s, line %i: %s\n", __FILE__, __FUNCTION__, __LINE__, str)) 36 #define GLCALLED() (fprintf(stderr, "CALLED: %s\n", __FUNCTION__)) 37 #define GLFINISHED() (fprintf(stderr, "FINISHED: %s\n", __FUNCTION__)) 36 38 #else 37 #define gl_debug(s) 38 #define gl_dprintf(s) 39 #define GLDEBUG(s) 40 #define GLDPRINTF(s) 41 #define GLCALLED() 42 #define GLFINISHED() 39 43 #endif 40 44
Note:
See TracChangeset
for help on using the changeset viewer.