diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 17:32:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-23 17:32:16 -0300 |
commit | dfd7ce74cf040dba710657963db0144201823670 (patch) | |
tree | 72117e389dbb172a0cd464c1d74e917c3e106f47 /lstate.h | |
parent | 8399df5dcf40d078cc6b0fa4df640ef0fc49b5be (diff) | |
download | lua-dfd7ce74cf040dba710657963db0144201823670.tar.gz lua-dfd7ce74cf040dba710657963db0144201823670.tar.bz2 lua-dfd7ce74cf040dba710657963db0144201823670.zip |
buffer should be void *, as char now is not that neutral...
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.51 2001/02/20 18:15:33 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.52 2001/02/23 17:17:25 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 | */ |
@@ -64,7 +64,7 @@ typedef struct stringtable { | |||
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 | l_char *Mbuffer; /* global buffer */ | 67 | void *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 */ |