diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-25 12:17:01 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-25 12:17:01 -0300 |
commit | 055823c04d09f6da0df1d7b5761609f749042907 (patch) | |
tree | 65e02bc0a3ea6adbc8557fd07daa6f25035a0227 /lstate.c | |
parent | 26d1e21c89a481c2368ba934da8e192a164d8f99 (diff) | |
download | lua-055823c04d09f6da0df1d7b5761609f749042907.tar.gz lua-055823c04d09f6da0df1d7b5761609f749042907.tar.bz2 lua-055823c04d09f6da0df1d7b5761609f749042907.zip |
"L->Mbuffbase" is better kept as offset instead of pointer
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 1.7 1999/01/15 13:11:22 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.8 1999/02/04 17:47:59 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 | */ |
@@ -44,7 +44,7 @@ void lua_open (void) | |||
44 | L->refSize = 0; | 44 | L->refSize = 0; |
45 | L->Mbuffsize = 0; | 45 | L->Mbuffsize = 0; |
46 | L->Mbuffnext = 0; | 46 | L->Mbuffnext = 0; |
47 | L->Mbuffbase = NULL; | 47 | L->Mbuffbase = 0; |
48 | L->Mbuffer = NULL; | 48 | L->Mbuffer = NULL; |
49 | L->GCthreshold = GARBAGE_BLOCK; | 49 | L->GCthreshold = GARBAGE_BLOCK; |
50 | L->nblocks = 0; | 50 | L->nblocks = 0; |