new API function to force garbage collection.

This commit is contained in:
Roberto Ierusalimschy
1997-05-26 11:42:51 -03:00
parent 9d6f4e48a6
commit e1249970c2
3 changed files with 18 additions and 8 deletions

5
lua.h
View File

@@ -2,7 +2,7 @@
** LUA - An Extensible Extension Language
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
** e-mail: lua@tecgraf.puc-rio.br
** $Id: lua.h,v 4.2 1997/04/04 22:24:51 roberto Exp roberto $
** $Id: lua.h,v 4.3 1997/04/15 16:52:20 roberto Exp roberto $
*/
@@ -84,6 +84,9 @@ void lua_unref (int ref);
lua_Object lua_createtable (void);
long lua_collectgarbage (long limit);
/* =============================================================== */
/* some useful macros */