feat(util/lua): add macro pushnil
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3e222e2f22
commit
aba5b65319
1 changed files with 1 additions and 0 deletions
|
@ -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; }
|
||||
// =======================================
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue