diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-03 08:40:04 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2013-02-16 23:19:15 (GMT) |
commit | 4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912 (patch) | |
tree | e713d0c525de65d9d6a8d0221c3fd7bd9904a563 | |
parent | d2c2c4f33a59b419145c33536fb7ea7acb36faf1 (diff) | |
download | fluxbox_pavel-4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912.zip fluxbox_pavel-4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912.tar.bz2 |
Add lua_rawgeti wrapper to luamm
-rw-r--r-- | src/FbTk/Luamm.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/FbTk/Luamm.hh b/src/FbTk/Luamm.hh index ca012c3..218eea9 100644 --- a/src/FbTk/Luamm.hh +++ b/src/FbTk/Luamm.hh | |||
@@ -233,6 +233,7 @@ namespace lua { | |||
233 | void rawgetfield(int index, const char *k) throw(std::bad_alloc); | 233 | void rawgetfield(int index, const char *k) throw(std::bad_alloc); |
234 | void rawset(int index) { lua_rawset(cobj, index); } | 234 | void rawset(int index) { lua_rawset(cobj, index); } |
235 | void rawsetfield(int index, const char *k) throw(std::bad_alloc); | 235 | void rawsetfield(int index, const char *k) throw(std::bad_alloc); |
236 | void rawseti(int index, int n) { lua_rawseti(cobj, index, n); } | ||
236 | int ref(int t) { return luaL_ref(cobj, t); } | 237 | int ref(int t) { return luaL_ref(cobj, t); } |
237 | // len recieves length, if not null. Returned value may contain '\0' | 238 | // len recieves length, if not null. Returned value may contain '\0' |
238 | const char* tocstring(int index, size_t *len = NULL) { return lua_tolstring(cobj, index, len); } | 239 | const char* tocstring(int index, size_t *len = NULL) { return lua_tolstring(cobj, index, len); } |