diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-03 08:40:04 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:52:46 (GMT) |
commit | 151d73da77ca96bedde2042520350b6b097dffdd (patch) | |
tree | 73e0d1463352e5cda20fba6a4548fb70084b3a19 /src | |
parent | 230269bf4fbb051dde7f7b5b10f2d3841ebc06a2 (diff) | |
download | fluxbox_paul-151d73da77ca96bedde2042520350b6b097dffdd.zip fluxbox_paul-151d73da77ca96bedde2042520350b6b097dffdd.tar.bz2 |
Add lua_rawgeti wrapper to luamm
Diffstat (limited to 'src')
-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); } |