diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-06-11 10:52:21 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-06-15 23:07:49 (GMT) |
commit | 9189d1cc96f7c3cc4da95739c818e4179a4977d6 (patch) | |
tree | 526c766cf6dd0aac57d0314411d954a32c768a22 /src/FbTk/Luamm.hh | |
parent | 64793e8ae52f2328c33c8dd54cb65b4a38f1fcea (diff) | |
download | fluxbox_pavel-9189d1cc96f7c3cc4da95739c818e4179a4977d6.zip fluxbox_pavel-9189d1cc96f7c3cc4da95739c818e4179a4977d6.tar.bz2 |
Luamm: add lua_createtable binding
Diffstat (limited to 'src/FbTk/Luamm.hh')
-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 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); } |