diff options
Diffstat (limited to '')
| -rw-r--r-- | lstate.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 1.60 2001/10/02 16:43:29 roberto Exp $ | 2 | ** $Id: lstate.h,v 1.61 2001/10/17 21:12:57 roberto Exp $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -57,7 +57,7 @@ typedef struct global_State { | |||
| 57 | void *Mbuffer; /* global buffer */ | 57 | void *Mbuffer; /* global buffer */ |
| 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 | Table *type2tag; /* hash table from type names to tags */ |
| 61 | TObject registry; /* registry table */ | 61 | TObject registry; /* registry table */ |
| 62 | struct TM *TMtable; /* table for tag methods */ | 62 | struct TM *TMtable; /* table for tag methods */ |
| 63 | int sizeTM; /* size of TMtable */ | 63 | int sizeTM; /* size of TMtable */ |
| @@ -66,7 +66,7 @@ typedef struct global_State { | |||
| 66 | lu_mem nblocks; /* number of `bytes' currently allocated */ | 66 | lu_mem nblocks; /* number of `bytes' currently allocated */ |
| 67 | Proto *rootproto; /* list of all prototypes */ | 67 | Proto *rootproto; /* list of all prototypes */ |
| 68 | Closure *rootcl; /* list of all C closures and closed Lua closures */ | 68 | Closure *rootcl; /* list of all C closures and closed Lua closures */ |
| 69 | Hash *roottable; /* list of all tables */ | 69 | Table *roottable; /* list of all tables */ |
| 70 | Udata *rootudata; /* list of all userdata */ | 70 | Udata *rootudata; /* list of all userdata */ |
| 71 | UpVal *rootupval; /* list of all up values */ | 71 | UpVal *rootupval; /* list of all up values */ |
| 72 | } global_State; | 72 | } global_State; |
| @@ -80,7 +80,7 @@ struct lua_State { | |||
| 80 | StkId top; /* first free slot in the stack */ | 80 | StkId top; /* first free slot in the stack */ |
| 81 | CallInfo *ci; /* call info for current function */ | 81 | CallInfo *ci; /* call info for current function */ |
| 82 | StkId stack_last; /* last free slot in the stack */ | 82 | StkId stack_last; /* last free slot in the stack */ |
| 83 | Hash *gt; /* table for globals */ | 83 | Table *gt; /* table for globals */ |
| 84 | global_State *G; | 84 | global_State *G; |
| 85 | StkId stack; /* stack base */ | 85 | StkId stack; /* stack base */ |
| 86 | int stacksize; | 86 | int stacksize; |
