diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-10-17 19:12:57 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-10-17 19:12:57 -0200 |
commit | 1e81da51bab87148981486a84b846399050f4ef2 (patch) | |
tree | d2c94326ca096e032d1ae3fa75a5d0605f494cc6 /lstate.h | |
parent | 7cd37142f404462634a5049a840f572e85c5762b (diff) | |
download | lua-1e81da51bab87148981486a84b846399050f4ef2.tar.gz lua-1e81da51bab87148981486a84b846399050f4ef2.tar.bz2 lua-1e81da51bab87148981486a84b846399050f4ef2.zip |
new API for registry and C upvalues + new implementation for references
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.59 2001/09/07 17:39:10 roberto Exp $ | 2 | ** $Id: lstate.h,v 1.60 2001/10/02 16:43:29 roberto Exp $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -58,8 +58,7 @@ typedef struct global_State { | |||
58 | size_t Mbuffsize; /* size of Mbuffer */ | 58 | size_t Mbuffsize; /* size of Mbuffer */ |
59 | stringtable strt; /* hash table for strings */ | 59 | stringtable strt; /* hash table for strings */ |
60 | Hash *type2tag; /* hash table from type names to tags */ | 60 | Hash *type2tag; /* hash table from type names to tags */ |
61 | Hash *registry; /* (strong) registry table */ | 61 | TObject registry; /* registry table */ |
62 | Hash *weakregistry; /* weakregistry table */ | ||
63 | struct TM *TMtable; /* table for tag methods */ | 62 | struct TM *TMtable; /* table for tag methods */ |
64 | int sizeTM; /* size of TMtable */ | 63 | int sizeTM; /* size of TMtable */ |
65 | int ntag; /* number of tags in TMtable */ | 64 | int ntag; /* number of tags in TMtable */ |