aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-19 15:29:23 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-19 15:29:23 -0200
commit592a3f289b428e3ee5cc595a266607ad7f5d94ff (patch)
tree19a371157be240f7e0f579117d04d466e911afcd /lua.h
parent9cdeb275e7c93007b2ece6f81aaeafe530076805 (diff)
downloadlua-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 4fa70b57..48fd80cf 100644
--- a/lua.h
+++ b/lua.h
@@ -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 */
117lua_Object lua_getref (int ref); 117lua_Object lua_getref (int ref);
118void lua_unref (int ref); 118void lua_unref (int ref);
119 119
120lua_Object lua_globalbag (void);
121
120lua_Object lua_createtable (void); 122lua_Object lua_createtable (void);
121 123
122long lua_collectgarbage (long limit); 124long lua_collectgarbage (long limit);