From ae55f3eeada102f3fa8345173410feaf1db42cde Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Jun 2000 16:17:08 -0300 Subject: no varargs in Lua API --- ltests.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index c512718c..9aef6953 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 1.27 2000/06/26 19:28:31 roberto Exp roberto $ +** $Id: ltests.c,v 1.28 2000/06/28 17:06:07 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -374,8 +374,7 @@ static void testC (void) { } else if EQ("newstate") { int stacksize = getnum(&pc); - lua_State *L1 = lua_newstate("stack", stacksize, - "builtin", getnum(&pc), NULL); + lua_State *L1 = lua_newstate(stacksize, getnum(&pc)); lua_pushuserdata(L1); } else if EQ("closestate") { -- cgit v1.2.3-55-g6feb