memory overflow tries a garbage collection; if it fails then exit the

program.
This commit is contained in:
Roberto Ierusalimschy
1996-01-22 12:15:13 -02:00
parent cd54c95ee1
commit e74b250d71
3 changed files with 31 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
/*
** Module to control static tables
** TeCGraf - PUC-Rio
** $Id: table.h,v 2.12 1995/10/17 11:58:41 roberto Exp roberto $
** $Id: table.h,v 2.13 1995/10/26 14:21:56 roberto Exp roberto $
*/
#ifndef table_h
@@ -23,6 +23,7 @@ Word luaI_findsymbol (TreeNode *t);
Word luaI_findconstant (TreeNode *t);
Word luaI_findconstantbyname (char *name);
int lua_markobject (Object *o);
Long luaI_collectgarbage (void);
void lua_pack (void);