From 4901853c1163d0bba81ef1579835cb2b6560e245 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 10 Sep 2024 17:05:39 -0300 Subject: 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. --- manual/manual.of | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual') 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 memory in use by Lua by 1024. } -@item{@defid{LUA_GCSTEP} (int n)| +@item{@defid{LUA_GCSTEP} (size_t n)| Performs a step of garbage collection. } -- cgit v1.2.3-55-g6feb