From 3cdd49c94a8feed94853ba3a6adaa556fb34fd8d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 14 Jan 2025 16:24:46 -0300 Subject: Fixed conversion warnings from clang Plus some other details. (Option '-Wuninitialized' was removed from the makefile because it is already enabled by -Wall.) --- manual/manual.of | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'manual') 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. Calls a function (or a callable object) in protected mode. - Both @id{nargs} and @id{nresults} have the same meaning as in @Lid{lua_call}. If there are no errors during the call, @@ -3998,9 +3997,9 @@ Lua will call @id{falloc} before raising the error. Pushes onto the stack a formatted string and returns a pointer to this string @see{constchar}. The result is a copy of @id{fmt} with -each @emph{conversion specifier} replaced by its respective -extra argument. -A conversion specifier can be +each @emph{conversion specifier} replaced by a string representation +of its respective extra argument. +A conversion specifier (and its corresponding extra argument) can be @Char{%%} (inserts the character @Char{%}), @Char{%s} (inserts a zero-terminated string, with no size restrictions), @Char{%f} (inserts a @Lid{lua_Number}), -- cgit v1.2.3-55-g6feb