From 30f6e658d2071d23309e4ac70dd8ec199049aff4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Mon, 11 Sep 2000 16:42:57 -0300 Subject: `lua_newstate' renamed to `lua_open' --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 92c543d6..60079ce3 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.39 2000/08/31 20:23:40 roberto Exp roberto $ +** $Id: ltests.c,v 1.40 2000/09/05 19:33:32 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -267,7 +267,7 @@ static int udataval (lua_State *L) { } static int newstate (lua_State *L) { - lua_State *L1 = lua_newstate(luaL_check_int(L, 1)); + lua_State *L1 = lua_open(luaL_check_int(L, 1)); if (L1) lua_pushuserdata(L, L1); else -- cgit v1.2.3-55-g6feb