diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:51:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:51:04 -0200 |
commit | 4343420d4d559a7d4cdacdbc1fd61552dcf59f04 (patch) | |
tree | 57e0bdd41e2f3a4ab70d3150022569751e3d02ad /lstate.h | |
parent | 1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 (diff) | |
download | lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.tar.gz lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.tar.bz2 lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.zip |
simplified version of `gc' tag method (only for userdata now).
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.18 1999/05/11 14:19:32 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.19 1999/05/11 20:08:20 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,10 +73,10 @@ struct lua_State { | |||
73 | lua_CHFunction callhook; | 73 | lua_CHFunction callhook; |
74 | lua_LHFunction linehook; | 74 | lua_LHFunction linehook; |
75 | /* global state */ | 75 | /* global state */ |
76 | GCnode rootproto; /* list of all prototypes */ | 76 | TProtoFunc *rootproto; /* list of all prototypes */ |
77 | GCnode rootcl; /* list of all closures */ | 77 | Closure *rootcl; /* list of all closures */ |
78 | GCnode roottable; /* list of all tables */ | 78 | Hash *roottable; /* list of all tables */ |
79 | GCnode rootglobal; /* list of strings with global values */ | 79 | TaggedString *rootglobal; /* list of strings with global values */ |
80 | stringtable *string_root; /* array of hash tables for strings and udata */ | 80 | stringtable *string_root; /* array of hash tables for strings and udata */ |
81 | struct IM *IMtable; /* table for tag methods */ | 81 | struct IM *IMtable; /* table for tag methods */ |
82 | int last_tag; /* last used tag in IMtable */ | 82 | int last_tag; /* last used tag in IMtable */ |