aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 17:32:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-23 17:32:16 -0300
commitdfd7ce74cf040dba710657963db0144201823670 (patch)
tree72117e389dbb172a0cd464c1d74e917c3e106f47 /lstate.h
parent8399df5dcf40d078cc6b0fa4df640ef0fc49b5be (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index a6f0e062..757d46c3 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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*/
66typedef struct global_State { 66typedef 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 */