diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-26 16:28:31 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-26 16:28:31 -0300 |
| commit | afef009fcea199bd4eff28ea6e5206b59cda9939 (patch) | |
| tree | 3954490fd4149900be8e795f630104637cd02f4b /lmem.c | |
| parent | b69e712713785394ceefa11ab3e5f9636abea733 (diff) | |
| download | lua-afef009fcea199bd4eff28ea6e5206b59cda9939.tar.gz lua-afef009fcea199bd4eff28ea6e5206b59cda9939.tar.bz2 lua-afef009fcea199bd4eff28ea6e5206b59cda9939.zip | |
new version of debug system
Diffstat (limited to 'lmem.c')
| -rw-r--r-- | lmem.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lmem.c,v 1.32 2000/05/31 16:53:30 roberto Exp roberto $ | 2 | ** $Id: lmem.c,v 1.33 2000/06/12 13:52:05 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 | */ |
| @@ -47,7 +47,8 @@ | |||
| 47 | 47 | ||
| 48 | 48 | ||
| 49 | /* ensures maximum alignment for HEADER */ | 49 | /* ensures maximum alignment for HEADER */ |
| 50 | #define HEADER (sizeof(union { double d; char *s; long l; })) | 50 | union L_U { double d; char *s; long l; }; |
| 51 | #define HEADER (sizeof(union L_U)) | ||
| 51 | 52 | ||
| 52 | #define MARKSIZE 16 | 53 | #define MARKSIZE 16 |
| 53 | #define MARK 0x55 /* 01010101 (a nice pattern) */ | 54 | #define MARK 0x55 /* 01010101 (a nice pattern) */ |
