From a152a32d661f5b4e3e42e261aa19fee015da1629 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 16 Feb 2010 16:46:16 +0100 Subject: [PATCH] lua_isnil() binding --- src/luamm.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/luamm.hh b/src/luamm.hh index 11ee80a9..f1c7b031 100644 --- a/src/luamm.hh +++ b/src/luamm.hh @@ -193,6 +193,7 @@ namespace lua { void insert(int index) throw() { lua_insert(cobj.get(), index); } bool isfunction(int index) throw() { return lua_isfunction(cobj.get(), index); } bool islightuserdata(int index) throw() { return lua_islightuserdata(cobj.get(), index); } + bool isnil(int index) throw() { return lua_isnil(cobj.get(), index); } bool isnone(int index) throw() { return lua_isnone(cobj.get(), index); } bool isnumber(int index) throw() { return lua_isnumber(cobj.get(), index); } bool isstring(int index) throw() { return lua_isstring(cobj.get(), index); }