diff --git a/src/util/lua.h b/src/util/lua.h index e4cf92289..32d950a73 100644 --- a/src/util/lua.h +++ b/src/util/lua.h @@ -136,6 +136,7 @@ inline int pushboolean(lua_State * L, bool b) { lua_pushboolean(L, b); return 1; inline int pushstring(lua_State * L, char const * s) { lua_pushstring(L, s); return 1; } inline int pushinteger(lua_State * L, lua_Integer v) { lua_pushinteger(L, v); return 1; } inline int pushnumber(lua_State * L, lua_Number v) { lua_pushnumber(L, v); return 1; } +inline int pushnil(lua_State * L) { lua_pushnil(L); return 1; } // ======================================= }