diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:06:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:06:56 -0300 |
commit | 634344d61fb4bd7ebd033d37b814a0083e55b5a2 (patch) | |
tree | 01794c51e00c7ec1faec1e08fe2963ee75b1a139 /ltm.h | |
parent | a2fa48a570b01b2a2cd37f01799f08f693fc5892 (diff) | |
download | lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.tar.gz lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.tar.bz2 lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.zip |
new API for weak mode
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, |