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.
This commit is contained in:
Roberto Ierusalimschy
2024-09-10 17:05:39 -03:00
parent a04e0ffdb9
commit 4901853c11
3 changed files with 3 additions and 3 deletions

View File

@@ -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.
}