From 30f6e658d2071d23309e4ac70dd8ec199049aff4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 11 Sep 2000 16:42:57 -0300 Subject: `lua_newstate' renamed to `lua_open' --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 1e35e467..44a9fc96 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.36 2000/09/05 19:33:32 roberto Exp roberto $ +** $Id: lstate.c,v 1.37 2000/09/11 17:38:42 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -25,7 +25,7 @@ void luaB_opentests (lua_State *L); #endif -lua_State *lua_newstate (int stacksize) { +lua_State *lua_open (int stacksize) { struct lua_longjmp myErrorJmp; lua_State *L = luaM_new(NULL, lua_State); if (L == NULL) return NULL; /* memory allocation error */ -- cgit v1.2.3-55-g6feb