From 03cde80b58ea7f112f1b7a35c037893093b59f2e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Sep 2019 14:31:06 -0300 Subject: 'setCstacklimit' renamed to 'setcstacklimit' Function names in the API use only lowercase letters. --- manual/manual.of | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'manual') diff --git a/manual/manual.of b/manual/manual.of index 292d1e51..cca4ca08 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -4814,7 +4814,7 @@ calling @Lid{lua_yield} with @id{nresults} equal to zero } -@APIEntry{int (lua_setCstacklimit) (lua_State *L, unsigned int limit);| +@APIEntry{int (lua_setcstacklimit) (lua_State *L, unsigned int limit);| @apii{0,0,-} Sets a new limit for the C stack. @@ -4823,7 +4823,7 @@ with the intent of avoiding a stack overflow. Returns the old limit in case of success, or zero in case of error. For more details about this function, -see @Lid{debug.setCstacklimit}, +see @Lid{debug.setcstacklimit}, its equivalent in the standard library. } @@ -8565,7 +8565,7 @@ to the userdata @id{u} plus a boolean, } -@LibEntry{debug.setCstacklimit (limit)| +@LibEntry{debug.setcstacklimit (limit)| Sets a new limit for the C stack. This limit controls how deeply nested calls can go in Lua, @@ -8586,10 +8586,10 @@ This function has the following restrictions: @item{@id{limit} must be less than 40000;} @item{@id{limit} cannot be less than the amount of C stack in use.} } -In case of success, -this function returns the old limit. -In case of error, +If a call does not respect some restriction, it returns @false. +Otherwise, +the call returns the old limit. } -- cgit v1.2.3-55-g6feb