root/trunk/src/debug.h
| Revision 918, 0.5 kB (checked in by takkaria, 6 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #ifndef INCLUDED_DEBUG_H |
| 2 | #define INCLUDED_DEBUG_H |
| 3 | |
| 4 | /** |
| 5 | * Send the formatted string to whatever debug console or output is set up. |
| 6 | * |
| 7 | * The output will be treated logically as a single line, so do not include |
| 8 | * newline characters in the format string. |
| 9 | * |
| 10 | * It is recommended you call debug() with "DHERE" at the beginning of your |
| 11 | * format string, like so: |
| 12 | * debug(DHERE "important info"); |
| 13 | * |
| 14 | * This gives you file and line number information. |
| 15 | */ |
| 16 | void debug(const char *fmt, ...); |
| 17 | |
| 18 | #endif /* INCLUDED_DEBUG_H */ |
Note: See TracBrowser for help on using the browser.
