diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:31:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:31:06 -0300 |
commit | 03cde80b58ea7f112f1b7a35c037893093b59f2e (patch) | |
tree | d92d64bca2b0ebe3e026fbf7955bf080db17e480 /manual | |
parent | 6b2e202df55f3d1f3c670eab65981db6e125c758 (diff) | |
download | lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.tar.gz lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.tar.bz2 lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.zip |
'setCstacklimit' renamed to 'setcstacklimit'
Function names in the API use only lowercase letters.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 12 |
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 | ||
4820 | Sets a new limit for the C stack. | 4820 | Sets a new limit for the C stack. |
@@ -4823,7 +4823,7 @@ with the intent of avoiding a stack overflow. | |||
4823 | Returns the old limit in case of success, | 4823 | Returns the old limit in case of success, |
4824 | or zero in case of error. | 4824 | or zero in case of error. |
4825 | For more details about this function, | 4825 | For more details about this function, |
4826 | see @Lid{debug.setCstacklimit}, | 4826 | see @Lid{debug.setcstacklimit}, |
4827 | its equivalent in the standard library. | 4827 | its 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 | ||
8570 | Sets a new limit for the C stack. | 8570 | Sets a new limit for the C stack. |
8571 | This limit controls how deeply nested calls can go in Lua, | 8571 | This 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 | } |
8589 | In case of success, | 8589 | If a call does not respect some restriction, |
8590 | this function returns the old limit. | ||
8591 | In case of error, | ||
8592 | it returns @false. | 8590 | it returns @false. |
8591 | Otherwise, | ||
8592 | the call returns the old limit. | ||
8593 | 8593 | ||
8594 | } | 8594 | } |
8595 | 8595 | ||