diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-04-25 11:10:00 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-04-25 11:10:00 -0300 |
| commit | bced00ab9efcdc68982b5e3787f277b86ea3cde8 (patch) | |
| tree | 85901ada4296ac533b2169b922885f7fc9d9e415 /lua.h | |
| parent | 25116a306598b8f30606552a4570f752ac141397 (diff) | |
| download | lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.gz lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.tar.bz2 lua-bced00ab9efcdc68982b5e3787f277b86ea3cde8.zip | |
lua_Reference is int, so say so.
Diffstat (limited to '')
| -rw-r--r-- | lua.h | 12 |
1 files changed, 5 insertions, 7 deletions
| @@ -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); | |||
| 81 | int lua_type (lua_Object object); | 81 | int lua_type (lua_Object object); |
| 82 | 82 | ||
| 83 | 83 | ||
| 84 | typedef int lua_Reference; | 84 | int lua_ref (int lock); |
| 85 | 85 | lua_Object lua_getref (int ref); | |
| 86 | lua_Reference lua_ref (int lock); | 86 | void lua_pushref (int ref); |
| 87 | lua_Object lua_getref (lua_Reference ref); | 87 | void lua_unref (int ref); |
| 88 | void lua_pushref (lua_Reference ref); | ||
| 89 | void lua_unref (lua_Reference ref); | ||
| 90 | 88 | ||
| 91 | lua_Object lua_createtable (void); | 89 | lua_Object lua_createtable (void); |
| 92 | 90 | ||
