aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-23 17:17:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-11-23 17:17:20 -0300
commitf356d5acdd9d8e8f7e9d1d7632c4657f945ff4f4 (patch)
treebaa2abdc9bd4707b42c0609da42aa1130757273b /llimits.h
parent76953316d1283ab6324b59b914ef53a521408444 (diff)
downloadlua-f356d5acdd9d8e8f7e9d1d7632c4657f945ff4f4.tar.gz
lua-f356d5acdd9d8e8f7e9d1d7632c4657f945ff4f4.tar.bz2
lua-f356d5acdd9d8e8f7e9d1d7632c4657f945ff4f4.zip
First version of GC counting objects for control
Still needs to review generational mode.
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llimits.h b/llimits.h
index 52a32f92..ef108f5f 100644
--- a/llimits.h
+++ b/llimits.h
@@ -57,7 +57,7 @@ typedef signed char ls_byte;
57** floor of the log2 of the maximum signed value for integral type 't'. 57** floor of the log2 of the maximum signed value for integral type 't'.
58** (That is, maximum 'n' such that '2^n' fits in the given signed type.) 58** (That is, maximum 'n' such that '2^n' fits in the given signed type.)
59*/ 59*/
60#define log2maxs(t) (sizeof(t) * 8 - 2) 60#define log2maxs(t) cast_int(sizeof(t) * 8 - 2)
61 61
62 62
63/* 63/*