aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-31 13:53:30 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-31 13:53:30 -0300
commit190c3be739b0dd9134070555c6c11b8d2f2a7629 (patch)
tree252100c39addea5914d839eaefe9be995e11a726 /lmem.c
parent7e30900def8b01df28464477b943aab65f5637c6 (diff)
downloadlua-190c3be739b0dd9134070555c6c11b8d2f2a7629.tar.gz
lua-190c3be739b0dd9134070555c6c11b8d2f2a7629.tar.bz2
lua-190c3be739b0dd9134070555c6c11b8d2f2a7629.zip
details
Diffstat (limited to 'lmem.c')
-rw-r--r--lmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmem.c b/lmem.c
index cc52ab6d..70f2e4e7 100644
--- a/lmem.c
+++ b/lmem.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmem.c,v 1.30 2000/05/24 13:54:49 roberto Exp roberto $ 2** $Id: lmem.c,v 1.31 2000/05/29 14:48:03 roberto Exp roberto $
3** Interface to Memory Manager 3** Interface to Memory Manager
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -46,7 +46,7 @@
46 46
47 47
48/* ensures maximum alignment for HEADER */ 48/* ensures maximum alignment for HEADER */
49#define HEADER (sizeof(double)>sizeof(long) ? sizeof(double) : sizeof(long)) 49#define HEADER (sizeof(union { double d; char *s; long l; }))
50 50
51#define MARKSIZE 16 51#define MARKSIZE 16
52#define MARK 0x55 /* 01010101 (a nice pattern) */ 52#define MARK 0x55 /* 01010101 (a nice pattern) */