diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-05-03 14:39:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-05-03 14:39:48 -0300 |
commit | aa73403ba41f7f0992e839e5eb3dd480ef3c01a3 (patch) | |
tree | ef416ab2e316d896cc0e0abca789c5902d4b0811 /lstate.h | |
parent | 0c27de2e7bb93936e9a1ad84ebc1f4d99e845190 (diff) | |
download | lua-aa73403ba41f7f0992e839e5eb3dd480ef3c01a3.tar.gz lua-aa73403ba41f7f0992e839e5eb3dd480ef3c01a3.tar.bz2 lua-aa73403ba41f7f0992e839e5eb3dd480ef3c01a3.zip |
no need of a KGC_FORCED collection kind; it has the same behavior of
a normal collection
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 2.63 2010/04/13 20:48:12 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.64 2010/04/29 17:31:31 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -54,9 +54,8 @@ struct lua_longjmp; /* defined in ldo.c */ | |||
54 | 54 | ||
55 | /* kinds of Garbage Collection */ | 55 | /* kinds of Garbage Collection */ |
56 | #define KGC_NORMAL 0 | 56 | #define KGC_NORMAL 0 |
57 | #define KGC_FORCED 1 /* gc was forced by the program */ | 57 | #define KGC_EMERGENCY 1 /* gc was forced by an allocation failure */ |
58 | #define KGC_EMERGENCY 2 /* gc was forced by an allocation failure */ | 58 | #define KGC_GEN 2 /* generational collection */ |
59 | #define KGC_GEN 3 /* generational collection */ | ||
60 | 59 | ||
61 | 60 | ||
62 | typedef struct stringtable { | 61 | typedef struct stringtable { |