luaa: remove useless dostring()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
073c658418
commit
1f3fdce144
7
luaa.h
7
luaa.h
|
@ -44,13 +44,6 @@
|
||||||
return 1; \
|
return 1; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define luaA_dostring(L, cmd) \
|
|
||||||
do { \
|
|
||||||
if(luaL_dostring(L, cmd)) \
|
|
||||||
warn("error executing Lua code: %s", \
|
|
||||||
lua_tostring(L, -1)); \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#define luaA_checktable(L, n) \
|
#define luaA_checktable(L, n) \
|
||||||
do { \
|
do { \
|
||||||
if(!lua_istable(L, n)) \
|
if(!lua_istable(L, n)) \
|
||||||
|
|
Loading…
Reference in New Issue