diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-09 19:50:35 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-09 19:50:35 -0200 |
commit | b3bb0f132b2a3dba88385f8d71ba3f34252d94e4 (patch) | |
tree | 111d09e92f36a4525ee9a62596925ac6cc9567b0 /lobject.h | |
parent | facfec0687ff20351d3c7520344a722b9149c9ea (diff) | |
download | lua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.tar.gz lua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.tar.bz2 lua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.zip |
new interface for weak modes
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -214,9 +214,9 @@ typedef union Closure { | |||
214 | */ | 214 | */ |
215 | 215 | ||
216 | typedef struct Node { | 216 | typedef struct Node { |
217 | struct Node *next; /* for chaining */ | ||
218 | TObject _key; | 217 | TObject _key; |
219 | TObject _val; | 218 | TObject _val; |
219 | struct Node *next; /* for chaining */ | ||
220 | } Node; | 220 | } Node; |
221 | 221 | ||
222 | 222 | ||
@@ -226,7 +226,6 @@ typedef struct Table { | |||
226 | Node *node; | 226 | Node *node; |
227 | int sizearray; /* size of `array' array */ | 227 | int sizearray; /* size of `array' array */ |
228 | lu_byte lsizenode; /* log2 of size of `node' array */ | 228 | lu_byte lsizenode; /* log2 of size of `node' array */ |
229 | lu_byte weakmode; | ||
230 | unsigned short flags; /* 1<<p means tagmethod(p) is not present */ | 229 | unsigned short flags; /* 1<<p means tagmethod(p) is not present */ |
231 | Node *firstfree; /* this position is free; all positions after it are full */ | 230 | Node *firstfree; /* this position is free; all positions after it are full */ |
232 | struct Table *next; | 231 | struct Table *next; |