diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-01 14:33:30 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-12-01 14:33:30 -0200 |
commit | 1d10acb35500df47d6052164e6c56476f520232e (patch) | |
tree | c6e4983bff097a53b0d73820506ec13ceb8887f5 /llimits.h | |
parent | da61624756a9a64df4aa7e45e9f4013c1b76c293 (diff) | |
download | lua-1d10acb35500df47d6052164e6c56476f520232e.tar.gz lua-1d10acb35500df47d6052164e6c56476f520232e.tar.bz2 lua-1d10acb35500df47d6052164e6c56476f520232e.zip |
incremental GC phases
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llimits.h,v 1.55 2003/05/14 21:01:53 roberto Exp roberto $ | 2 | ** $Id: llimits.h,v 1.56 2003/07/29 19:26:34 roberto Exp roberto $ |
3 | ** Limits, basic types, and some other `installation-dependent' definitions | 3 | ** Limits, basic types, and some other `installation-dependent' definitions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -50,12 +50,32 @@ typedef LUA_UINT32 lu_int32; | |||
50 | 50 | ||
51 | 51 | ||
52 | /* | 52 | /* |
53 | ** a signed integer with at least 32 bits | ||
54 | */ | ||
55 | #ifndef LUA_INT32 | ||
56 | #define LUA_INT32 long | ||
57 | #define LUA_MAXINT32 LONG_MAX | ||
58 | #endif | ||
59 | |||
60 | typedef LUA_INT32 l_int32; | ||
61 | |||
62 | |||
63 | /* | ||
53 | ** an unsigned integer big enough to count the total memory used by Lua; | 64 | ** an unsigned integer big enough to count the total memory used by Lua; |
54 | ** it should be at least as large as `size_t' | 65 | ** it should be at least as large as `size_t' |
55 | */ | 66 | */ |
56 | typedef lu_int32 lu_mem; | 67 | typedef lu_int32 lu_mem; |
57 | 68 | ||
58 | 69 | ||
70 | /* | ||
71 | ** a signed integer big enough to count the total memory used by Lua; | ||
72 | ** it should be at least as large as `size_t' | ||
73 | */ | ||
74 | typedef l_int32 l_mem; | ||
75 | #define MAXLMEM LUA_MAXINT32 | ||
76 | |||
77 | |||
78 | |||
59 | /* chars used as small naturals (so that `char' is reserved for characters) */ | 79 | /* chars used as small naturals (so that `char' is reserved for characters) */ |
60 | typedef unsigned char lu_byte; | 80 | typedef unsigned char lu_byte; |
61 | 81 | ||