aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-11 10:52:21 (GMT)
committerPavel Labath <pavelo@centrum.sk>2013-02-16 23:19:15 (GMT)
commit75caeaf59a50004f102f37a6a7f96dad6228a70d (patch)
tree2a101708389621ac0702b9dc4e4a6c048cc08ffe
parentddc650c96c24e5899d46244a18ce2b106f835ceb (diff)
downloadfluxbox_pavel-75caeaf59a50004f102f37a6a7f96dad6228a70d.zip
fluxbox_pavel-75caeaf59a50004f102f37a6a7f96dad6228a70d.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); }