diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-16 18:06:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-03-16 18:06:16 -0300 |
| commit | 7f774319504c0c56ee7efd3337a5c5a4074526c2 (patch) | |
| tree | 4613f721b085ba88d3bc0ab8a6ba90973fef6fde | |
| parent | 87367e97f3c37796bb1ed4ec3e8f0b0df3b8d70e (diff) | |
| download | lua-7f774319504c0c56ee7efd3337a5c5a4074526c2.tar.gz lua-7f774319504c0c56ee7efd3337a5c5a4074526c2.tar.bz2 lua-7f774319504c0c56ee7efd3337a5c5a4074526c2.zip | |
detail
| -rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 1.50 2000/03/03 14:58:26 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 1.51 2000/03/10 18:37:44 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -57,7 +57,7 @@ typedef unsigned long Instruction; | |||
| 57 | ** objects count 1, and each 32 bytes of `raw' memory count 1; we add | 57 | ** objects count 1, and each 32 bytes of `raw' memory count 1; we add |
| 58 | ** 2 to the total as a minimum (and also to count the overhead of malloc) | 58 | ** 2 to the total as a minimum (and also to count the overhead of malloc) |
| 59 | */ | 59 | */ |
| 60 | #define numblocks(L, o,b) ((o)+(b)/32+2) | 60 | #define numblocks(L, o,b) ((o)+((b)>>5)+2) |
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | /* | 63 | /* |
