1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

Move rawset() to the proper category

This commit is contained in:
Pavel Labath 2010-02-11 21:08:32 +01:00
parent 8fe39ab39b
commit fd671ced8f

View File

@ -189,7 +189,6 @@ namespace lua {
void rawget(int index) throw() { lua_rawget(cobj.get(), index); }
void rawgeti(int index, int n) throw() { lua_rawgeti(cobj.get(), index, n); }
bool rawequal(int index1, int index2) throw() { return lua_rawequal(cobj.get(), index1, index2); }
void rawset(int index) throw() { lua_rawset(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 :/
int setmetatable(int index) throw() { return lua_setmetatable(cobj.get(), index); }
@ -214,6 +213,7 @@ namespace lua {
void pushfunction(const cpp_function &fn) { pushclosure(fn, 0); }
void pushstring(const char *s) { lua_pushstring(cobj.get(), s); }
void rawgetfield(int index, const char *k) throw(std::bad_alloc);
void rawset(int index) { lua_rawset(cobj.get(), index); }
void rawsetfield(int index, const char *k) throw(std::bad_alloc);
int ref(int t) { return luaL_ref(cobj.get(), t); }
// len recieves length, if not null. Returned value may contain '\0'