aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-14 16:24:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-14 16:24:46 -0300
commit3cdd49c94a8feed94853ba3a6adaa556fb34fd8d (patch)
tree1f552c966d1fb5f5c23e956e6d98679f02a558b3 /manual
parent10e931da82268a9d190c17a9bdb9b1a4b48c2947 (diff)
downloadlua-3cdd49c94a8feed94853ba3a6adaa556fb34fd8d.tar.gz
lua-3cdd49c94a8feed94853ba3a6adaa556fb34fd8d.tar.bz2
lua-3cdd49c94a8feed94853ba3a6adaa556fb34fd8d.zip
Fixed conversion warnings from clang
Plus some other details. (Option '-Wuninitialized' was removed from the makefile because it is already enabled by -Wall.)
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of7
1 files changed, 3 insertions, 4 deletions
diff --git a/manual/manual.of b/manual/manual.of
index bb95148a..77e37de3 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -3848,7 +3848,6 @@ or zero if the value at @id{idx} is not a number.
3848 3848
3849Calls a function (or a callable object) in protected mode. 3849Calls a function (or a callable object) in protected mode.
3850 3850
3851
3852Both @id{nargs} and @id{nresults} have the same meaning as 3851Both @id{nargs} and @id{nresults} have the same meaning as
3853in @Lid{lua_call}. 3852in @Lid{lua_call}.
3854If there are no errors during the call, 3853If there are no errors during the call,
@@ -3998,9 +3997,9 @@ Lua will call @id{falloc} before raising the error.
3998Pushes onto the stack a formatted string 3997Pushes onto the stack a formatted string
3999and returns a pointer to this string @see{constchar}. 3998and returns a pointer to this string @see{constchar}.
4000The result is a copy of @id{fmt} with 3999The result is a copy of @id{fmt} with
4001each @emph{conversion specifier} replaced by its respective 4000each @emph{conversion specifier} replaced by a string representation
4002extra argument. 4001of its respective extra argument.
4003A conversion specifier can be 4002A conversion specifier (and its corresponding extra argument) can be
4004@Char{%%} (inserts the character @Char{%}), 4003@Char{%%} (inserts the character @Char{%}),
4005@Char{%s} (inserts a zero-terminated string, with no size restrictions), 4004@Char{%s} (inserts a zero-terminated string, with no size restrictions),
4006@Char{%f} (inserts a @Lid{lua_Number}), 4005@Char{%f} (inserts a @Lid{lua_Number}),