aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/lstate.c b/lstate.c
index 434bd0bd..8547c176 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.5 1997/12/17 20:48:58 roberto Exp roberto $ 2** $Id: lstate.c,v 1.6 1998/06/02 20:37:04 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -78,9 +78,3 @@ void lua_close (void)
78} 78}
79 79
80 80
81lua_State *lua_setstate (lua_State *st) {
82 lua_State *old = lua_state;
83 lua_state = st;
84 return old;
85}
86