diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-11-22 11:12:07 -0200 |
commit | 29ede6aa13144ff7b69c57a87be1ee93f57ae896 (patch) | |
tree | adcfb5dcff7db55481cd675349e23dec0e63c939 /lref.h | |
parent | 951897c09319ae5474a4b86bb7d615136577caa0 (diff) | |
download | lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.gz lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.bz2 lua-29ede6aa13144ff7b69c57a87be1ee93f57ae896.zip |
first implementation of multiple states (reentrant code).
Diffstat (limited to 'lref.h')
-rw-r--r-- | lref.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lref.h,v 1.1 1999/10/04 17:50:24 roberto Exp roberto $ | 2 | ** $Id: lref.h,v 1.2 1999/11/10 15:37:50 roberto Exp roberto $ |
3 | ** REF mechanism | 3 | ** REF mechanism |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -22,9 +22,9 @@ struct ref { | |||
22 | }; | 22 | }; |
23 | 23 | ||
24 | 24 | ||
25 | int luaR_ref (const TObject *o, int lock); | 25 | int luaR_ref (lua_State *L, const TObject *o, int lock); |
26 | const TObject *luaR_getref (int ref); | 26 | const TObject *luaR_getref (lua_State *L, int ref); |
27 | void luaR_invalidaterefs (void); | 27 | void luaR_invalidaterefs (lua_State *L); |
28 | 28 | ||
29 | 29 | ||
30 | #endif | 30 | #endif |