summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-25 11:10:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-04-25 11:10:00 -0300
commitbced00ab9efcdc68982b5e3787f277b86ea3cde8 (patch)
tree85901ada4296ac533b2169b922885f7fc9d9e415 /lua.h
parent25116a306598b8f30606552a4570f752ac141397 (diff)
downloadlua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.gz
lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.bz2
lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.zip
lua_Reference is int, so say so.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/lua.h b/lua.h
index 5738a619..bb65cf5c 100644
--- a/lua.h
+++ b/lua.h
@@ -2,7 +2,7 @@
2** LUA - Linguagem para Usuarios de Aplicacao 2** LUA - Linguagem para Usuarios de Aplicacao
3** Grupo de Tecnologia em Computacao Grafica 3** Grupo de Tecnologia em Computacao Grafica
4** TeCGraf - PUC-Rio 4** TeCGraf - PUC-Rio
5** $Id: lua.h,v 3.25 1996/03/21 21:30:29 roberto Exp roberto $ 5** $Id: lua.h,v 3.26 1996/04/22 18:00:37 roberto Exp roberto $
6*/ 6*/
7 7
8 8
@@ -81,12 +81,10 @@ lua_Object lua_getsubscript (void);
81int lua_type (lua_Object object); 81int lua_type (lua_Object object);
82 82
83 83
84typedef int lua_Reference; 84int lua_ref (int lock);
85 85lua_Object lua_getref (int ref);
86lua_Reference lua_ref (int lock); 86void lua_pushref (int ref);
87lua_Object lua_getref (lua_Reference ref); 87void lua_unref (int ref);
88void lua_pushref (lua_Reference ref);
89void lua_unref (lua_Reference ref);
90 88
91lua_Object lua_createtable (void); 89lua_Object lua_createtable (void);
92 90