aboutsummaryrefslogtreecommitdiff
path: root/lref.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 11:12:07 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-11-22 11:12:07 -0200
commit29ede6aa13144ff7b69c57a87be1ee93f57ae896 (patch)
treeadcfb5dcff7db55481cd675349e23dec0e63c939 /lref.h
parent951897c09319ae5474a4b86bb7d615136577caa0 (diff)
downloadlua-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lref.h b/lref.h
index 180daab0..aff9e185 100644
--- a/lref.h
+++ b/lref.h
@@ -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
25int luaR_ref (const TObject *o, int lock); 25int luaR_ref (lua_State *L, const TObject *o, int lock);
26const TObject *luaR_getref (int ref); 26const TObject *luaR_getref (lua_State *L, int ref);
27void luaR_invalidaterefs (void); 27void luaR_invalidaterefs (lua_State *L);
28 28
29 29
30#endif 30#endif