aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-04-11 11:42:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-04-11 11:42:41 -0300
commit0e0e4a480e6d9b0125a96ca982a3e9571578a037 (patch)
tree21f13f032e9e337879168c74871d0d4bb2534248 /lobject.h
parent2a501882692afaa08ecc38af3052e9b4f60f6e85 (diff)
downloadlua-0e0e4a480e6d9b0125a96ca982a3e9571578a037.tar.gz
lua-0e0e4a480e6d9b0125a96ca982a3e9571578a037.tar.bz2
lua-0e0e4a480e6d9b0125a96ca982a3e9571578a037.zip
first implementation for weak tables
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lobject.h b/lobject.h
index 23ca0d03..b6f7afac 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.100 2001/03/02 17:27:50 roberto Exp roberto $ 2** $Id: lobject.h,v 1.101 2001/03/07 18:09:25 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*/
@@ -179,6 +179,7 @@ typedef struct Hash {
179 Node *firstfree; /* this position is free; all positions after it are full */ 179 Node *firstfree; /* this position is free; all positions after it are full */
180 struct Hash *next; 180 struct Hash *next;
181 struct Hash *mark; /* marked tables (point to itself when not marked) */ 181 struct Hash *mark; /* marked tables (point to itself when not marked) */
182 int weakmode;
182} Hash; 183} Hash;
183 184
184 185