aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-17 19:12:57 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-17 19:12:57 -0200
commit1e81da51bab87148981486a84b846399050f4ef2 (patch)
treed2c94326ca096e032d1ae3fa75a5d0605f494cc6 /lstate.h
parent7cd37142f404462634a5049a840f572e85c5762b (diff)
downloadlua-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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lstate.h b/lstate.h
index ebeeab52..aa29c3bd 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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 */