diff options
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.69 2000/09/14 14:09:31 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.70 2000/09/18 19:39:18 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 |
@@ -134,6 +134,12 @@ int lua_dostring (lua_State *L, const char *str); | |||
134 | int lua_dobuffer (lua_State *L, const char *buff, size_t size, | 134 | int lua_dobuffer (lua_State *L, const char *buff, size_t size, |
135 | const char *name); | 135 | const char *name); |
136 | 136 | ||
137 | /* | ||
138 | ** Garbage-collection functions | ||
139 | */ | ||
140 | int lua_getgcthreshold (lua_State *L); | ||
141 | int lua_getgccount (lua_State *L); | ||
142 | void lua_setgcthreshold (lua_State *L, int newthreshold); | ||
137 | 143 | ||
138 | /* | 144 | /* |
139 | ** miscellaneous functions | 145 | ** miscellaneous functions |
@@ -146,8 +152,6 @@ void lua_error (lua_State *L, const char *s); | |||
146 | 152 | ||
147 | void lua_unref (lua_State *L, int ref); | 153 | void lua_unref (lua_State *L, int ref); |
148 | 154 | ||
149 | long lua_collectgarbage (lua_State *L, long limit); | ||
150 | |||
151 | int lua_next (lua_State *L, int index); | 155 | int lua_next (lua_State *L, int index); |
152 | int lua_getn (lua_State *L, int index); | 156 | int lua_getn (lua_State *L, int index); |
153 | 157 | ||