diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-25 13:52:52 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-01-25 13:52:52 -0300 |
commit | 108e0bdc8495782544c351b17eaae1411a910e89 (patch) | |
tree | 1196b9d9288b38b0be0290e30ec818fa09d06238 /manual | |
parent | b34a97a4af5c9e973915c07dba918d95009e0acd (diff) | |
parent | e288c5a91883793d14ed9e9d93464f6ee0b08915 (diff) | |
download | lua-108e0bdc8495782544c351b17eaae1411a910e89.tar.gz lua-108e0bdc8495782544c351b17eaae1411a910e89.tar.bz2 lua-108e0bdc8495782544c351b17eaae1411a910e89.zip |
Merge branch 'master' into nextversion
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/manual.of b/manual/manual.of index 42269ff4..e3cbddb3 100644 --- a/manual/manual.of +++ b/manual/manual.of | |||
@@ -4552,6 +4552,10 @@ The pointer returned by @id{lua_tolstring} | |||
4552 | may be invalidated by the garbage collector if the | 4552 | may be invalidated by the garbage collector if the |
4553 | corresponding Lua value is removed from the stack @see{constchar}. | 4553 | corresponding Lua value is removed from the stack @see{constchar}. |
4554 | 4554 | ||
4555 | This function can raise memory errors only | ||
4556 | when converting a number to a string | ||
4557 | (as then it may have to create a new string). | ||
4558 | |||
4555 | } | 4559 | } |
4556 | 4560 | ||
4557 | @APIEntry{lua_Number lua_tonumber (lua_State *L, int index);| | 4561 | @APIEntry{lua_Number lua_tonumber (lua_State *L, int index);| |