extended current version of the battery plugin
[wmiirc-lua.git] / luaixp / lixp_debug.h
blob2ef83f4902d8b06babd7da31b7028f5c3d2fc9e0
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 (lua_State *l);
14 #endif // __LUAIXP_DEBUG_H__