reminder on how to enable debugging in luaixp
[wmiirc-lua.git] / luaeventloop / lel_debug.h
blobe6dc51b007675837a9a5076fa1ccd8ce051783ba
1 #ifndef __LUAIXP_DEBUG_H__
2 #define __LUAIXP_DEBUG_H__
4 #include <lua.h>
6 #ifdef DBG
7 #define DBGF(fmt,args...) fprintf(stderr,fmt,##args)
8 #else
9 #define DBGF(fmt,args...) ({})
10 #endif
12 extern void l_stack_dump (const char *prefix, lua_State *l);
14 #endif // __LUAIXP_DEBUG_H__