summaryrefslogtreecommitdiff
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-github-29ede6aa13144ff7b69c57a87be1ee93f57ae896.tar.gz
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 @@
/*
-** $Id: lref.h,v 1.1 1999/10/04 17:50:24 roberto Exp roberto $
+** $Id: lref.h,v 1.2 1999/11/10 15:37:50 roberto Exp roberto $
** REF mechanism
** See Copyright Notice in lua.h
*/
@@ -22,9 +22,9 @@ struct ref {
};
-int luaR_ref (const TObject *o, int lock);
-const TObject *luaR_getref (int ref);
-void luaR_invalidaterefs (void);
+int luaR_ref (lua_State *L, const TObject *o, int lock);
+const TObject *luaR_getref (lua_State *L, int ref);
+void luaR_invalidaterefs (lua_State *L);
#endif