aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 10:52:21 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:52:46 (GMT)
commit093b30702304e72a2b73c0041a63c7c125af7314 (patch)
treec6f0c0c279781b8c17a149101ce95760d3bb7df5
parentf64a64ca51e548e4b58f953ec220760cb4db85aa (diff)
downloadfluxbox_paul-093b30702304e72a2b73c0041a63c7c125af7314.zip
fluxbox_paul-093b30702304e72a2b73c0041a63c7c125af7314.tar.bz2
Luamm: add lua_createtable binding
-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 0ebe6ef..f2084e7 100644
--- a/src/FbTk/Luamm.hh
+++ b/src/FbTk/Luamm.hh
@@ -218,6 +218,7 @@ namespace lua {
218 // checkstack correctly throws bad_alloc, because lua_checkstack kindly informs us of 218 // checkstack correctly throws bad_alloc, because lua_checkstack kindly informs us of
219 // that sitution 219 // that sitution
220 void checkstack(int extra) throw(std::bad_alloc); 220 void checkstack(int extra) throw(std::bad_alloc);
221 void createtable(int narr = 0, int nrec = 0) { lua_createtable(cobj, narr, nrec); }
221 const char* gsub(const char *s, const char *p, const char *r) { return luaL_gsub(cobj, s, p, r); } 222 const char* gsub(const char *s, const char *p, const char *r) { return luaL_gsub(cobj, s, p, r); }
222 bool newmetatable(const char *tname) { return luaL_newmetatable(cobj, tname); } 223 bool newmetatable(const char *tname) { return luaL_newmetatable(cobj, tname); }
223 void newtable() { lua_newtable(cobj); } 224 void newtable() { lua_newtable(cobj); }