From af928d0663646b8cfb1bd87f160b5725eecb7534 Mon Sep 17 00:00:00 2001 From: pixel Date: Sun, 17 Jun 2007 15:13:46 +0000 Subject: Adding method "next". --- 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 ab54be3..517955b 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.49 2007-05-31 13:26:52 pixel Exp $ */ +/* $Id: BLua.cc,v 1.50 2007-06-17 15:13:46 pixel Exp $ */ #include #include "BLua.h" @@ -615,6 +615,10 @@ void Lua::pop(int n) { lua_pop(L, n); } +int Lua::next(int t) { + return lua_next(L, t); +} + void Lua::copy(int n) { lua_pushvalue(L, n); } -- cgit v1.2.3