Added macros for simplest debug process (yes, gdb is a better way)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-10-30 00:55:36 +02:00
parent 5441d89264
commit a5fa537f2e

View File

@ -11,6 +11,8 @@
events into a central log file that can be used for debugging.
*/
#define mc_log_mark() mc_log("%s:%d\n",__FILE,__LINE__)
extern void mc_log(const char *, ...)
__attribute__((__format__(__printf__,1,2)));