From 0f7025dcae08e35a31866234d8d757ab54392190 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 21 Jun 2024 16:36:24 -0300 Subject: [PATCH] Details in the manual --- manual/manual.of | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/manual/manual.of b/manual/manual.of index 4fbdbf31..774981c4 100644 --- a/manual/manual.of +++ b/manual/manual.of @@ -3713,8 +3713,8 @@ Lua will do all memory allocation for this state through this function @seeF{lua_Alloc}. The second argument, @id{ud}, is an opaque pointer that Lua passes to the allocator in every call. -The third argument, @id{seed}, is a seed for the hashing of -strings when they are used as table keys. +The third argument, @id{seed}, +is a seed for the hashing of strings. } @@ -7310,7 +7310,7 @@ which must be a string. The format string follows the same rules as the @ANSI{sprintf}. The accepted conversion specifiers are @id{A}, @id{a}, @id{c}, @id{d}, @id{E}, @id{e}, @id{f}, @id{G}, @id{g}, -@id{i}, @id{o}, @id{p}, @id{s}, @id{u}, @id{X}, and @id{x}, +@id{i}, @id{o}, @id{p}, @id{s}, @id{u}, @id{X}, @id{x}, and @Char{%}, plus a non-C specifier @id{q}. The accepted flags are @Char{-}, @Char{+}, @Char{#}, @Char{0}, and @Char{ } (space). @@ -8819,7 +8819,7 @@ because of its reliance on @CId{setlocale}. @LibEntry{os.time ([table])| -Returns the current time when called without arguments, +Returns the current local time when called without arguments, or a time representing the local date and time specified by the given table. This table must have fields @id{year}, @id{month}, and @id{day}, and may have fields @@ -9382,6 +9382,11 @@ Moreover, there were some changes in the parameters themselves. @itemize{ +@item{ +@Lid{lua_newstate} has a third parameter, +a seed for the hashing of strings. +} + @item{ The function @id{lua_resetthread} is deprecated; it is equivalent to @Lid{lua_closethread} with