diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-25 14:45:36 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-25 14:45:36 -0200 |
commit | a53d9b66ca6247818acaf41e28cdf123082a272b (patch) | |
tree | 8e909200d4d925fc7394e6adf83cc5941456c588 /lstate.h | |
parent | c8559e3c8d12e052783e2952db1372c68cc16059 (diff) | |
download | lua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.gz lua-a53d9b66ca6247818acaf41e28cdf123082a272b.tar.bz2 lua-a53d9b66ca6247818acaf41e28cdf123082a272b.zip |
first implementation for type names
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.45 2001/01/22 18:01:38 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.46 2001/01/24 15:45:33 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -73,6 +73,7 @@ typedef struct global_State { | |||
73 | Hash *roottable; /* list of all tables */ | 73 | Hash *roottable; /* list of all tables */ |
74 | stringtable strt; /* hash table for strings */ | 74 | stringtable strt; /* hash table for strings */ |
75 | stringtable udt; /* hash table for udata */ | 75 | stringtable udt; /* hash table for udata */ |
76 | Hash *type2tag; /* hash table from type names to tags */ | ||
76 | struct TM *TMtable; /* table for tag methods */ | 77 | struct TM *TMtable; /* table for tag methods */ |
77 | int sizeTM; /* size of TMtable */ | 78 | int sizeTM; /* size of TMtable */ |
78 | int ntag; /* number of tags in TMtable */ | 79 | int ntag; /* number of tags in TMtable */ |