aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-21 13:33:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-21 13:33:59 -0300
commit7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef (patch)
treea29433a8a29cd79ec3c8abc308c133e81d4259c6 /manual
parent724012d3d07f43f03451bb05d2bd9f55dff1d116 (diff)
downloadlua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.tar.gz
lua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.tar.bz2
lua-7d7ae8781e64e2b3b212d5c7b7c1b98b694df5ef.zip
Parameters for 'lua_createtable' back to int
Tables don't accept sizes larger than int.
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of6
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 77e37de3..150315d4 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -3238,7 +3238,7 @@ Values at other positions are not affected.
3238 3238
3239} 3239}
3240 3240
3241@APIEntry{void lua_createtable (lua_State *L, unsigned nseq, unsigned nrec);| 3241@APIEntry{void lua_createtable (lua_State *L, int nseq, int nrec);|
3242@apii{0,1,m} 3242@apii{0,1,m}
3243 3243
3244Creates a new empty table and pushes it onto the stack. 3244Creates a new empty table and pushes it onto the stack.
@@ -3249,7 +3249,7 @@ the table will have.
3249Lua may use these hints to preallocate memory for the new table. 3249Lua may use these hints to preallocate memory for the new table.
3250This preallocation may help performance when you know in advance 3250This preallocation may help performance when you know in advance
3251how many elements the table will have. 3251how many elements the table will have.
3252Otherwise you can use the function @Lid{lua_newtable}. 3252Otherwise you should use the function @Lid{lua_newtable}.
3253 3253
3254} 3254}
3255 3255
@@ -3351,7 +3351,7 @@ Returns the previous mode (@id{LUA_GCGEN} or @id{LUA_GCINC}).
3351 3351
3352@item{@defid{LUA_GCPARAM} (int param, int val)| 3352@item{@defid{LUA_GCPARAM} (int param, int val)|
3353Changes and/or returns the value of a parameter of the collector. 3353Changes and/or returns the value of a parameter of the collector.
3354If @id{val} is negative, the call only returns the current value. 3354If @id{val} is -1, the call only returns the current value.
3355The argument @id{param} must have one of the following values: 3355The argument @id{param} must have one of the following values:
3356@description{ 3356@description{
3357@item{@defid{LUA_GCPMINORMUL}| The minor multiplier. } 3357@item{@defid{LUA_GCPMINORMUL}| The minor multiplier. }