diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-01-22 12:15:13 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-01-22 12:15:13 -0200 |
commit | e74b250d71c9a72758d7bb586bb906cacd8293f6 (patch) | |
tree | bee1df3715c456e7ee1e591f0734cce34fff3195 /table.h | |
parent | cd54c95ee179dd1578e127745354aa6a59b72eb7 (diff) | |
download | lua-e74b250d71c9a72758d7bb586bb906cacd8293f6.tar.gz lua-e74b250d71c9a72758d7bb586bb906cacd8293f6.tar.bz2 lua-e74b250d71c9a72758d7bb586bb906cacd8293f6.zip |
memory overflow tries a garbage collection; if it fails then exit the
program.
Diffstat (limited to 'table.h')
-rw-r--r-- | table.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | ** Module to control static tables | 2 | ** Module to control static tables |
3 | ** TeCGraf - PUC-Rio | 3 | ** TeCGraf - PUC-Rio |
4 | ** $Id: table.h,v 2.12 1995/10/17 11:58:41 roberto Exp roberto $ | 4 | ** $Id: table.h,v 2.13 1995/10/26 14:21:56 roberto Exp roberto $ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef table_h | 7 | #ifndef table_h |
@@ -23,6 +23,7 @@ Word luaI_findsymbol (TreeNode *t); | |||
23 | Word luaI_findconstant (TreeNode *t); | 23 | Word luaI_findconstant (TreeNode *t); |
24 | Word luaI_findconstantbyname (char *name); | 24 | Word luaI_findconstantbyname (char *name); |
25 | int lua_markobject (Object *o); | 25 | int lua_markobject (Object *o); |
26 | Long luaI_collectgarbage (void); | ||
26 | void lua_pack (void); | 27 | void lua_pack (void); |
27 | 28 | ||
28 | 29 | ||