aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-09-10 17:05:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-09-10 17:05:39 -0300
commit4901853c1163d0bba81ef1579835cb2b6560e245 (patch)
treebd2c0cbc6c70ae789c6b98d73581c65379493dbf /manual
parenta04e0ffdb9be42a77b5657f46cac8d7faa5a0f43 (diff)
downloadlua-4901853c1163d0bba81ef1579835cb2b6560e245.tar.gz
lua-4901853c1163d0bba81ef1579835cb2b6560e245.tar.bz2
lua-4901853c1163d0bba81ef1579835cb2b6560e245.zip
Parameter for lua_gc/LUA_GCSTEP changed to 'size_t'
'size_t' is the common type for measuring memory. 'int' can be too small for steps.
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 93e3a114..f0a2ed94 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -3326,7 +3326,7 @@ Returns the remainder of dividing the current amount of bytes of
3326memory in use by Lua by 1024. 3326memory in use by Lua by 1024.
3327} 3327}
3328 3328
3329@item{@defid{LUA_GCSTEP} (int n)| 3329@item{@defid{LUA_GCSTEP} (size_t n)|
3330Performs a step of garbage collection. 3330Performs a step of garbage collection.
3331} 3331}
3332 3332