5 #ifndef HAKA_LUA_LUAUTILS_H 6 #define HAKA_LUA_LUAUTILS_H 15 #define LUA_STACK_MARK(L) \ 16 const int _stackmark = lua_gettop((L)) 18 #define LUA_STACK_CHECK(L, offset) \ 19 assert(lua_gettop((L)) == _stackmark+(offset)) 23 #define LUA_STACK_MARK(L) 24 #define LUA_STACK_CHECK(L, offset) 30 const char *lua_converttostring(
struct lua_State *L,
int idx,
size_t *len);
31 bool lua_pushwstring(
struct lua_State *L,
const wchar_t *str);