diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-19 15:29:23 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-11-19 15:29:23 -0200 |
commit | 592a3f289b428e3ee5cc595a266607ad7f5d94ff (patch) | |
tree | 19a371157be240f7e0f579117d04d466e911afcd /lua.h | |
parent | 9cdeb275e7c93007b2ece6f81aaeafe530076805 (diff) | |
download | lua-592a3f289b428e3ee5cc595a266607ad7f5d94ff.tar.gz lua-592a3f289b428e3ee5cc595a266607ad7f5d94ff.tar.bz2 lua-592a3f289b428e3ee5cc595a266607ad7f5d94ff.zip |
first implementation of centralized global state.
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.2 1997/10/24 17:17:24 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.3 1997/11/04 15:27:53 roberto Exp roberto $ |
3 | ** LUA - An Extensible Extension Language | 3 | ** LUA - An Extensible Extension Language |
4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil | 4 | ** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil |
5 | ** e-mail: lua@tecgraf.puc-rio.br | 5 | ** e-mail: lua@tecgraf.puc-rio.br |
@@ -117,6 +117,8 @@ int lua_ref (int lock); /* In: value */ | |||
117 | lua_Object lua_getref (int ref); | 117 | lua_Object lua_getref (int ref); |
118 | void lua_unref (int ref); | 118 | void lua_unref (int ref); |
119 | 119 | ||
120 | lua_Object lua_globalbag (void); | ||
121 | |||
120 | lua_Object lua_createtable (void); | 122 | lua_Object lua_createtable (void); |
121 | 123 | ||
122 | long lua_collectgarbage (long limit); | 124 | long lua_collectgarbage (long limit); |