diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 14:17:25 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 14:17:25 -0300 |
| commit | 39b79783297bee79db9853b63d199e120a009a8f (patch) | |
| tree | c738c621c4c28d8822c2f785400786301985273b /lstate.h | |
| parent | d164e2294f73d8e69f00d95a66014514b2dd0ec0 (diff) | |
| download | lua-39b79783297bee79db9853b63d199e120a009a8f.tar.gz lua-39b79783297bee79db9853b63d199e120a009a8f.tar.bz2 lua-39b79783297bee79db9853b63d199e120a009a8f.zip | |
first (big) step to support wide chars
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.50 2001/02/02 15:13:05 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.51 2001/02/20 18:15: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 | */ |
| @@ -61,10 +61,10 @@ typedef struct stringtable { | |||
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | /* | 63 | /* |
| 64 | ** "global state", shared by all threads of this state | 64 | ** `global state', shared by all threads of this state |
| 65 | */ | 65 | */ |
| 66 | typedef struct global_State { | 66 | typedef struct global_State { |
| 67 | char *Mbuffer; /* global buffer */ | 67 | l_char *Mbuffer; /* global buffer */ |
| 68 | size_t Mbuffsize; /* size of Mbuffer */ | 68 | size_t Mbuffsize; /* size of Mbuffer */ |
| 69 | Proto *rootproto; /* list of all prototypes */ | 69 | Proto *rootproto; /* list of all prototypes */ |
| 70 | Closure *rootcl; /* list of all closures */ | 70 | Closure *rootcl; /* list of all closures */ |
| @@ -85,7 +85,7 @@ typedef struct global_State { | |||
| 85 | 85 | ||
| 86 | 86 | ||
| 87 | /* | 87 | /* |
| 88 | ** "per thread" state | 88 | ** `per thread' state |
| 89 | */ | 89 | */ |
| 90 | struct lua_State { | 90 | struct lua_State { |
| 91 | LUA_USERSTATE | 91 | LUA_USERSTATE |
