diff options
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.31 2000/03/30 17:19:48 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.32 2000/05/08 19:32:53 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 | */ |
@@ -42,7 +42,7 @@ struct C_Lua_Stack { | |||
42 | 42 | ||
43 | typedef struct stringtable { | 43 | typedef struct stringtable { |
44 | int size; | 44 | int size; |
45 | int nuse; /* number of elements */ | 45 | long nuse; /* number of elements */ |
46 | TString **hash; | 46 | TString **hash; |
47 | } stringtable; | 47 | } stringtable; |
48 | 48 | ||
@@ -66,7 +66,8 @@ struct lua_State { | |||
66 | Proto *rootproto; /* list of all prototypes */ | 66 | Proto *rootproto; /* list of all prototypes */ |
67 | Closure *rootcl; /* list of all closures */ | 67 | Closure *rootcl; /* list of all closures */ |
68 | Hash *roottable; /* list of all tables */ | 68 | Hash *roottable; /* list of all tables */ |
69 | stringtable *string_root; /* array of hash tables for strings and udata */ | 69 | stringtable strt; /* hash table for strings */ |
70 | stringtable udt; /* hash table for udata */ | ||
70 | Hash *gt; /* table for globals */ | 71 | Hash *gt; /* table for globals */ |
71 | struct IM *IMtable; /* table for tag methods */ | 72 | struct IM *IMtable; /* table for tag methods */ |
72 | int last_tag; /* last used tag in IMtable */ | 73 | int last_tag; /* last used tag in IMtable */ |
@@ -82,8 +83,5 @@ struct lua_State { | |||
82 | }; | 83 | }; |
83 | 84 | ||
84 | 85 | ||
85 | |||
86 | |||
87 | |||
88 | #endif | 86 | #endif |
89 | 87 | ||