aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-09 19:50:35 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-01-09 19:50:35 -0200
commitb3bb0f132b2a3dba88385f8d71ba3f34252d94e4 (patch)
tree111d09e92f36a4525ee9a62596925ac6cc9567b0 /lobject.h
parentfacfec0687ff20351d3c7520344a722b9149c9ea (diff)
downloadlua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.tar.gz
lua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.tar.bz2
lua-b3bb0f132b2a3dba88385f8d71ba3f34252d94e4.zip
new interface for weak modes
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lobject.h b/lobject.h
index a8dcf35e..37bb16e8 100644
--- a/lobject.h
+++ b/lobject.h
@@ -214,9 +214,9 @@ typedef union Closure {
214*/ 214*/
215 215
216typedef struct Node { 216typedef 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;