aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of12
1 files changed, 6 insertions, 6 deletions
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
4814 4814
4815} 4815}
4816 4816
4817@APIEntry{int (lua_setCstacklimit) (lua_State *L, unsigned int limit);| 4817@APIEntry{int (lua_setcstacklimit) (lua_State *L, unsigned int limit);|
4818@apii{0,0,-} 4818@apii{0,0,-}
4819 4819
4820Sets a new limit for the C stack. 4820Sets a new limit for the C stack.
@@ -4823,7 +4823,7 @@ with the intent of avoiding a stack overflow.
4823Returns the old limit in case of success, 4823Returns the old limit in case of success,
4824or zero in case of error. 4824or zero in case of error.
4825For more details about this function, 4825For more details about this function,
4826see @Lid{debug.setCstacklimit}, 4826see @Lid{debug.setcstacklimit},
4827its equivalent in the standard library. 4827its equivalent in the standard library.
4828 4828
4829} 4829}
@@ -8565,7 +8565,7 @@ to the userdata @id{u} plus a boolean,
8565 8565
8566} 8566}
8567 8567
8568@LibEntry{debug.setCstacklimit (limit)| 8568@LibEntry{debug.setcstacklimit (limit)|
8569 8569
8570Sets a new limit for the C stack. 8570Sets a new limit for the C stack.
8571This limit controls how deeply nested calls can go in Lua, 8571This limit controls how deeply nested calls can go in Lua,
@@ -8586,10 +8586,10 @@ This function has the following restrictions:
8586@item{@id{limit} must be less than 40000;} 8586@item{@id{limit} must be less than 40000;}
8587@item{@id{limit} cannot be less than the amount of C stack in use.} 8587@item{@id{limit} cannot be less than the amount of C stack in use.}
8588} 8588}
8589In case of success, 8589If a call does not respect some restriction,
8590this function returns the old limit.
8591In case of error,
8592it returns @false. 8590it returns @false.
8591Otherwise,
8592the call returns the old limit.
8593 8593
8594} 8594}
8595 8595