mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
add lua_pushnumber wrapper
there are still some functions whose C++ wrappers i didn't create. add them if you need them
This commit is contained in:
parent
2d4d2ef4c0
commit
3e98e18324
@ -201,6 +201,7 @@ namespace lua {
|
||||
void pushinteger(integer n) throw() { lua_pushinteger(cobj.get(), n); }
|
||||
void pushlightuserdata(void *p) throw() { lua_pushlightuserdata(cobj.get(), p); }
|
||||
void pushnil() throw() { lua_pushnil(cobj.get()); }
|
||||
void pushnumber(number n) throw() { lua_pushnumber(cobj.get(), n); }
|
||||
void pushvalue(int index) throw() { lua_pushvalue(cobj.get(), index); }
|
||||
void rawget(int index) throw() { lua_rawget(cobj.get(), index); }
|
||||
void rawgeti(int index, int n) throw() { lua_rawgeti(cobj.get(), index, n); }
|
||||
|
Loading…
Reference in New Issue
Block a user