diff options
Diffstat (limited to 'src/FbTk')
-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); } |