diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-01 14:06:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-01 14:06:58 -0300 |
commit | 9f4b5b52327497e3ce82cb0af1d94ad6c09b1da2 (patch) | |
tree | 748e3f7b84f04d7ab438b9970ac42ef0efe95811 /ltm.h | |
parent | 5fabed21a17b133182a7e47712b7c7602ea87401 (diff) | |
download | lua-9f4b5b52327497e3ce82cb0af1d94ad6c09b1da2.tar.gz lua-9f4b5b52327497e3ce82cb0af1d94ad6c09b1da2.tar.bz2 lua-9f4b5b52327497e3ce82cb0af1d94ad6c09b1da2.zip |
weak keys are removed only after finalization
Diffstat (limited to '')
-rw-r--r-- | ltm.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 1.36 2002/06/24 20:17:59 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 1.37 2002/06/25 19:17:22 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -10,6 +10,13 @@ | |||
10 | 10 | ||
11 | #include "lobject.h" | 11 | #include "lobject.h" |
12 | 12 | ||
13 | |||
14 | /* | ||
15 | ** Important: garbage collection uses two extra bits of `Table.flags' | ||
16 | ** (after TM_MODE), so the maximum number of `fast tag methods' is six | ||
17 | ** (at least while `flags' is a byte). | ||
18 | */ | ||
19 | |||
13 | /* | 20 | /* |
14 | * WARNING: if you change the order of this enumeration, | 21 | * WARNING: if you change the order of this enumeration, |
15 | * grep "ORDER TM" | 22 | * grep "ORDER TM" |