diff options
Diffstat (limited to 'ltm.h')
| -rw-r--r-- | ltm.h | 11 |
1 files changed, 2 insertions, 9 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ltm.h,v 1.37 2002/06/25 19:17:22 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 1.38 2002/07/01 17:06:58 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 | */ |
| @@ -12,12 +12,6 @@ | |||
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | /* | 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 | |||
| 20 | /* | ||
| 21 | * WARNING: if you change the order of this enumeration, | 15 | * WARNING: if you change the order of this enumeration, |
| 22 | * grep "ORDER TM" | 16 | * grep "ORDER TM" |
| 23 | */ | 17 | */ |
| @@ -25,8 +19,7 @@ typedef enum { | |||
| 25 | TM_INDEX, | 19 | TM_INDEX, |
| 26 | TM_NEWINDEX, | 20 | TM_NEWINDEX, |
| 27 | TM_GC, | 21 | TM_GC, |
| 28 | TM_EQ, | 22 | TM_EQ, /* last tag method with `fast' access */ |
| 29 | TM_MODE, /* last tag method with `fast' access */ | ||
| 30 | TM_GETTABLE, | 23 | TM_GETTABLE, |
| 31 | TM_SETTABLE, | 24 | TM_SETTABLE, |
| 32 | TM_ADD, | 25 | TM_ADD, |
