Added macros for simplest debug process (yes, gdb is a better way)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Этот коммит содержится в:
родитель
5441d89264
Коммит
a5fa537f2e
@ -11,6 +11,8 @@
|
|||||||
events into a central log file that can be used for debugging.
|
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 *, ...)
|
extern void mc_log(const char *, ...)
|
||||||
__attribute__((__format__(__printf__,1,2)));
|
__attribute__((__format__(__printf__,1,2)));
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user