aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-01-25 13:52:52 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-01-25 13:52:52 -0300
commit108e0bdc8495782544c351b17eaae1411a910e89 (patch)
tree1196b9d9288b38b0be0290e30ec818fa09d06238 /manual
parentb34a97a4af5c9e973915c07dba918d95009e0acd (diff)
parente288c5a91883793d14ed9e9d93464f6ee0b08915 (diff)
downloadlua-108e0bdc8495782544c351b17eaae1411a910e89.tar.gz
lua-108e0bdc8495782544c351b17eaae1411a910e89.tar.bz2
lua-108e0bdc8495782544c351b17eaae1411a910e89.zip
Merge branch 'master' into nextversion
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of4
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}
4552may be invalidated by the garbage collector if the 4552may be invalidated by the garbage collector if the
4553corresponding Lua value is removed from the stack @see{constchar}. 4553corresponding Lua value is removed from the stack @see{constchar}.
4554 4554
4555This function can raise memory errors only
4556when 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);|