From 77a52d07f442fef2b91971b6c6bf942aaa73071c Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 2 Apr 2007 23:34:30 +0000 Subject: Adding the status method to the Lua class, useless for now, as this only exists in Lua 5.1. --- include/BLua.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/BLua.h b/include/BLua.h index aeebbf0..2b9e1b9 100644 --- a/include/BLua.h +++ b/include/BLua.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.h,v 1.29 2007-02-07 00:31:10 pixel Exp $ */ +/* $Id: BLua.h,v 1.30 2007-04-02 23:34:30 pixel Exp $ */ #ifndef __BLUA_H__ #define __BLUA_H__ @@ -77,6 +77,7 @@ class Lua : public Base { void getglobal(const String &) throw (GeneralException); void push_lua_context(); void error(const String &); + int status(); int type(int = -1); bool isnil(int = -1); bool isboolean(int = -1); -- cgit v1.2.3