aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Celes <celes@tecgraf.puc-rio.br>1995-05-16 16:23:55 -0300
committerWaldemar Celes <celes@tecgraf.puc-rio.br>1995-05-16 16:23:55 -0300
commite13753e2fb6ad6522c87e9a0a88dc745e9205797 (patch)
treef0bee9f5d257638d9926bd9bf868a40e1f34d3e6
parentec79f25286a4ac843280ae7377ec1e5b39a70cea (diff)
downloadlua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.tar.gz
lua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.tar.bz2
lua-e13753e2fb6ad6522c87e9a0a88dc745e9205797.zip
Ajustar limites para garbage collection.
-rw-r--r--table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/table.c b/table.c
index d3fb89c3..7f3bc2c0 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.29 1995/05/02 18:43:03 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.30 1995/05/16 17:23:58 roberto Exp celes $";
7 7
8#include <string.h> 8#include <string.h>
9 9
@@ -33,8 +33,8 @@ static Long lua_maxconstant = 0;
33char *lua_file[MAXFILE]; 33char *lua_file[MAXFILE];
34int lua_nfile; 34int lua_nfile;
35 35
36#define GARBAGE_BLOCK 256 36#define GARBAGE_BLOCK 1024
37#define MIN_GARBAGE_BLOCK 10 37#define MIN_GARBAGE_BLOCK (GARBAGE_BLOCK/2)
38 38
39static void lua_nextvar (void); 39static void lua_nextvar (void);
40static void setglobal (void); 40static void setglobal (void);