diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-06 15:00:19 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-06-06 15:00:19 -0300 |
commit | d5b83ead90fba27faa344c72406d85987d2460a4 (patch) | |
tree | 96d73c1b872b6b01a28c0586b871d37185034ba9 /lstate.h | |
parent | da673d31aaa05e8dff60c0b601b9f15c4f9182a8 (diff) | |
download | lua-d5b83ead90fba27faa344c72406d85987d2460a4.tar.gz lua-d5b83ead90fba27faa344c72406d85987d2460a4.tar.bz2 lua-d5b83ead90fba27faa344c72406d85987d2460a4.zip |
new implementation for userdatas, without `keys'
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.55 2001/03/07 18:09:25 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.56 2001/04/17 17:35:54 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 | */ |
@@ -53,8 +53,8 @@ typedef struct global_State { | |||
53 | Proto *rootproto; /* list of all prototypes */ | 53 | Proto *rootproto; /* list of all prototypes */ |
54 | Closure *rootcl; /* list of all closures */ | 54 | Closure *rootcl; /* list of all closures */ |
55 | Hash *roottable; /* list of all tables */ | 55 | Hash *roottable; /* list of all tables */ |
56 | Udata *rootudata; /* list of all userdata */ | ||
56 | stringtable strt; /* hash table for strings */ | 57 | stringtable strt; /* hash table for strings */ |
57 | stringtable udt; /* hash table for udata */ | ||
58 | Hash *type2tag; /* hash table from type names to tags */ | 58 | Hash *type2tag; /* hash table from type names to tags */ |
59 | Hash *registry; /* (strong) registry table */ | 59 | Hash *registry; /* (strong) registry table */ |
60 | Hash *weakregistry; /* weakregistry table */ | 60 | Hash *weakregistry; /* weakregistry table */ |