aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Luamm.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Luamm.hh')
-rw-r--r--src/FbTk/Luamm.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/Luamm.hh b/src/FbTk/Luamm.hh
index b75fb12..01fb8b1 100644
--- a/src/FbTk/Luamm.hh
+++ b/src/FbTk/Luamm.hh
@@ -161,6 +161,7 @@ namespace lua {
161 161
162 bool safe_compare(lua_CFunction trampoline, int index1, int index2); 162 bool safe_compare(lua_CFunction trampoline, int index1, int index2);
163 void do_pushclosure(int n); 163 void do_pushclosure(int n);
164 void throw_check_error(int narg, Type expected) throw(lua::check_error) __attribute__((noreturn));
164 165
165 /** 166 /**
166 * The pointed-to value is true if this object still exists. We need this because the 167 * The pointed-to value is true if this object still exists. We need this because the
@@ -273,6 +274,7 @@ namespace lua {
273 // call() is a protected mode call, we don't allow unprotected calls 274 // call() is a protected mode call, we don't allow unprotected calls
274 void call(int nargs, int nresults, int errfunc = 0); 275 void call(int nargs, int nresults, int errfunc = 0);
275 void checkargno(int argno) throw(lua::check_error); 276 void checkargno(int argno) throw(lua::check_error);
277 std::string checkstring(int narg) throw(lua::check_error, std::bad_alloc);
276 void *checkudata(int narg, const char *tname) throw(lua::check_error, std::bad_alloc); 278 void *checkudata(int narg, const char *tname) throw(lua::check_error, std::bad_alloc);
277 template<typename T> 279 template<typename T>
278 T *checkudata(int narg, const char *tname) throw(lua::check_error, std::bad_alloc) { return static_cast<T *>(checkudata(narg, tname)); } 280 T *checkudata(int narg, const char *tname) throw(lua::check_error, std::bad_alloc) { return static_cast<T *>(checkudata(narg, tname)); }