aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 14:17:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 14:17:25 -0300
commit39b79783297bee79db9853b63d199e120a009a8f (patch)
treec738c621c4c28d8822c2f785400786301985273b /lstate.h
parentd164e2294f73d8e69f00d95a66014514b2dd0ec0 (diff)
downloadlua-39b79783297bee79db9853b63d199e120a009a8f.tar.gz
lua-39b79783297bee79db9853b63d199e120a009a8f.tar.bz2
lua-39b79783297bee79db9853b63d199e120a009a8f.zip
first (big) step to support wide chars
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index f718d857..a6f0e062 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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*/
66typedef struct global_State { 66typedef 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*/
90struct lua_State { 90struct lua_State {
91 LUA_USERSTATE 91 LUA_USERSTATE