diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-15 11:11:22 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-01-15 11:11:22 -0200 |
commit | 54840fb25696ab30e11d2d80f3c18af6d1f01481 (patch) | |
tree | b2d0fd6ad4dd450ba7f845e6c1ea3d73efcbd7f6 /lstate.c | |
parent | e87fddf1adab8ca60ec988c9d71d29a44d7129a3 (diff) | |
download | lua-54840fb25696ab30e11d2d80f3c18af6d1f01481.tar.gz lua-54840fb25696ab30e11d2d80f3c18af6d1f01481.tar.bz2 lua-54840fb25696ab30e11d2d80f3c18af6d1f01481.zip |
new functions to manipulate C global variables
Diffstat (limited to 'lstate.c')
-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 | |||