diff options
Diffstat (limited to '')
| -rw-r--r-- | lstate.c | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -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 | ||
| 81 | lua_State *lua_setstate (lua_State *st) { | ||
| 82 | lua_State *old = lua_state; | ||
| 83 | lua_state = st; | ||
| 84 | return old; | ||
| 85 | } | ||
| 86 | |||
