aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
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);|