diff options
author | pixel <pixel> | 2007-04-02 23:34:30 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-04-02 23:34:30 +0000 |
commit | 77a52d07f442fef2b91971b6c6bf942aaa73071c (patch) | |
tree | c8cae15775a6e29aac610b0158e9e7139192217b /lib | |
parent | f2a3806a5f911128c69b8619b8f41be5db059b76 (diff) |
Adding the status method to the Lua class, useless for now, as this only exists in Lua 5.1.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BLua.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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 <stdlib.h> #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); } |