aboutsummaryrefslogtreecommitdiff
path: root/table.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-22 12:15:13 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1996-01-22 12:15:13 -0200
commite74b250d71c9a72758d7bb586bb906cacd8293f6 (patch)
treebee1df3715c456e7ee1e591f0734cce34fff3195 /table.h
parentcd54c95ee179dd1578e127745354aa6a59b72eb7 (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/table.h b/table.h
index f38ea668..a3c10388 100644
--- a/table.h
+++ b/table.h
@@ -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);
23Word luaI_findconstant (TreeNode *t); 23Word luaI_findconstant (TreeNode *t);
24Word luaI_findconstantbyname (char *name); 24Word luaI_findconstantbyname (char *name);
25int lua_markobject (Object *o); 25int lua_markobject (Object *o);
26Long luaI_collectgarbage (void);
26void lua_pack (void); 27void lua_pack (void);
27 28
28 29