aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-03 08:40:04 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-16 23:19:15 (GMT)
commit4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912 (patch)
treee713d0c525de65d9d6a8d0221c3fd7bd9904a563 /src/FbTk
parentd2c2c4f33a59b419145c33536fb7ea7acb36faf1 (diff)
downloadfluxbox_pavel-4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912.zip
fluxbox_pavel-4df6d5d83a3d4eb1fc0efb1dd3a68326e52cf912.tar.bz2
Add lua_rawgeti wrapper to luamm
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Luamm.hh1
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); }