diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-19 10:03:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-09-19 10:03:53 -0300 |
commit | 565e6d74e1440b1500d0ba0d3757307de0a38b9e (patch) | |
tree | fb03ae16585a6288a8f2c95621f30058cd806e29 /lstate.h | |
parent | f6bc7884be000a82809c8f973a81b2ea50760937 (diff) | |
download | lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.tar.gz lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.tar.bz2 lua-565e6d74e1440b1500d0ba0d3757307de0a38b9e.zip |
state's buffer is used only for chars
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.94 2002/08/12 17:23:12 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.95 2002/08/30 19:09:21 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 | */ |
@@ -124,7 +124,7 @@ typedef struct global_State { | |||
124 | GCObject *rootgc; /* list of (almost) all collectable objects */ | 124 | GCObject *rootgc; /* list of (almost) all collectable objects */ |
125 | GCObject *rootudata; /* (separated) list of all userdata */ | 125 | GCObject *rootudata; /* (separated) list of all userdata */ |
126 | GCObject *tmudata; /* list of userdata to be GC */ | 126 | GCObject *tmudata; /* list of userdata to be GC */ |
127 | void *Mbuffer; /* global buffer */ | 127 | char *Mbuffer; /* global buffer */ |
128 | size_t Mbuffsize; /* size of Mbuffer */ | 128 | size_t Mbuffsize; /* size of Mbuffer */ |
129 | lu_mem GCthreshold; | 129 | lu_mem GCthreshold; |
130 | lu_mem nblocks; /* number of `bytes' currently allocated */ | 130 | lu_mem nblocks; /* number of `bytes' currently allocated */ |