repo.or.cz
/
wmiirc-lua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reminder on how to enable debugging in luaixp
[wmiirc-lua.git]
/
luaeventloop
/
lel_debug.h
blob
e6dc51b007675837a9a5076fa1ccd8ce051783ba
1
#ifndef __LUAIXP_DEBUG_H__
2
#define __LUAIXP_DEBUG_H__
3
4
#include <lua.h>
5
6
#ifdef DBG
7
#define DBGF(fmt,args...) fprintf(stderr,fmt,##args)
8
#else
9
#define DBGF(fmt,args...) ({})
10
#endif
11
12
extern
void
l_stack_dump
(
const char
*
prefix
,
lua_State
*
l
);
13
14
#endif
// __LUAIXP_DEBUG_H__