From 54840fb25696ab30e11d2d80f3c18af6d1f01481 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Jan 1999 11:11:22 -0200 Subject: new functions to manipulate C global variables --- lstate.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 434bd0bd..8547c176 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.5 1997/12/17 20:48:58 roberto Exp roberto $ +** $Id: lstate.c,v 1.6 1998/06/02 20:37:04 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -78,9 +78,3 @@ void lua_close (void) } -lua_State *lua_setstate (lua_State *st) { - lua_State *old = lua_state; - lua_state = st; - return old; -} - -- cgit v1.2.3-55-g6feb