summaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index e3dc6f95..805be05e 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.140 2002/07/17 16:25:13 roberto Exp $ 2** $Id: lobject.h,v 1.141 2002/08/05 14:08:02 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -223,8 +223,12 @@ typedef struct Table {
223 int sizearray; /* size of `array' array */ 223 int sizearray; /* size of `array' array */
224 lu_byte flags; /* 1<<p means tagmethod(p) is not present */ 224 lu_byte flags; /* 1<<p means tagmethod(p) is not present */
225 lu_byte lsizenode; /* log2 of size of `node' array */ 225 lu_byte lsizenode; /* log2 of size of `node' array */
226 lu_byte mode;
226} Table; 227} Table;
227 228
229/* bit masks for `mode' */
230#define WEAKKEY 1
231#define WEAKVALUE 2
228 232
229 233
230/* 234/*