diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-03 08:40:04 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-06-15 15:59:39 (GMT) |
commit | 2e24590bf815f588c98686f176db881b1d392d55 (patch) | |
tree | 01daeccf9590a4001dfa6b379e9d53c7a102b98b /src/FbTk | |
parent | 0e23f87962ac85e77fd344b054495017a0f48f57 (diff) | |
download | fluxbox_pavel-2e24590bf815f588c98686f176db881b1d392d55.zip fluxbox_pavel-2e24590bf815f588c98686f176db881b1d392d55.tar.bz2 |
Add lua_rawgeti wrapper to luamm
Diffstat (limited to 'src/FbTk')
-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); } |