From ab0fd035167f053966225a239dae189d5f439ecd Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 24 Jul 2011 15:14:04 +0200 Subject: luamm: add lua_isuserdata C++ binding --- src/FbTk/Luamm.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FbTk/Luamm.hh b/src/FbTk/Luamm.hh index 96a5eea..110ac97 100644 --- a/src/FbTk/Luamm.hh +++ b/src/FbTk/Luamm.hh @@ -204,6 +204,7 @@ namespace lua { bool isnumber(int index) throw() { return lua_isnumber(cobj, index); } bool isstring(int index) throw() { return lua_isstring(cobj, index); } bool istable(int index) throw() { return lua_istable(cobj, index); } + bool isuserdata(int index) throw() { return lua_isuserdata(cobj, index); } void pop(int n = 1) throw() { lua_pop(cobj, n); } void pushboolean(bool b) throw() { lua_pushboolean(cobj, b); } void pushinteger(integer n) throw() { lua_pushinteger(cobj, n); } -- cgit v0.11.2