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. --- lib/BLua.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/BLua.cc b/lib/BLua.cc index 92ef214..fa35f9f 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.38 2006-11-13 22:00:12 pixel Exp $ */ +/* $Id: BLua.cc,v 1.39 2007-04-02 23:34:30 pixel Exp $ */ #include #include "BLua.h" @@ -647,6 +647,10 @@ void Lua::error(const String & msg) { lua_error(L); } +int Lua::status() { + return 0; +} + int Lua::type(int i) { return lua_type(L, i); } -- cgit v1.2.3