mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-02 14:31:57 +00:00
add lua_settop() binding
This commit is contained in:
parent
1d6009594c
commit
56266e9476
@ -209,6 +209,7 @@ namespace lua {
|
|||||||
void replace(int index) throw() { lua_replace(cobj.get(), index); }
|
void replace(int index) throw() { lua_replace(cobj.get(), index); }
|
||||||
// lua_setmetatable returns int, but docs don't specify it's meaning :/
|
// lua_setmetatable returns int, but docs don't specify it's meaning :/
|
||||||
int setmetatable(int index) throw() { return lua_setmetatable(cobj.get(), index); }
|
int setmetatable(int index) throw() { return lua_setmetatable(cobj.get(), index); }
|
||||||
|
void settop(int index) throw() { return lua_settop(cobj.get(), index); }
|
||||||
integer tointeger(int index) throw() { return lua_tointeger(cobj.get(), index); }
|
integer tointeger(int index) throw() { return lua_tointeger(cobj.get(), index); }
|
||||||
number tonumber(int index) throw() { return lua_tonumber(cobj.get(), index); }
|
number tonumber(int index) throw() { return lua_tonumber(cobj.get(), index); }
|
||||||
void* touserdata(int index) throw() { return lua_touserdata(cobj.get(), index); }
|
void* touserdata(int index) throw() { return lua_touserdata(cobj.get(), index); }
|
||||||
|
Loading…
Reference in New Issue
Block a user