aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-21 16:36:24 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-06-21 16:36:24 -0300
commit0f7025dcae08e35a31866234d8d757ab54392190 (patch)
tree4a76de036dde4d1754cc31fa216bd3aabba82b61
parentef28e5f789f7e7be1a3961d13cb35bbfd2542997 (diff)
downloadlua-0f7025dcae08e35a31866234d8d757ab54392190.tar.gz
lua-0f7025dcae08e35a31866234d8d757ab54392190.tar.bz2
lua-0f7025dcae08e35a31866234d8d757ab54392190.zip
Details in the manual
-rw-r--r--manual/manual.of13
1 files 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
3713through this function @seeF{lua_Alloc}. 3713through this function @seeF{lua_Alloc}.
3714The second argument, @id{ud}, is an opaque pointer that Lua 3714The second argument, @id{ud}, is an opaque pointer that Lua
3715passes to the allocator in every call. 3715passes to the allocator in every call.
3716The third argument, @id{seed}, is a seed for the hashing of 3716The third argument, @id{seed},
3717strings when they are used as table keys. 3717is a seed for the hashing of strings.
3718 3718
3719} 3719}
3720 3720
@@ -7310,7 +7310,7 @@ which must be a string.
7310The format string follows the same rules as the @ANSI{sprintf}. 7310The format string follows the same rules as the @ANSI{sprintf}.
7311The accepted conversion specifiers are 7311The accepted conversion specifiers are
7312@id{A}, @id{a}, @id{c}, @id{d}, @id{E}, @id{e}, @id{f}, @id{G}, @id{g}, 7312@id{A}, @id{a}, @id{c}, @id{d}, @id{E}, @id{e}, @id{f}, @id{G}, @id{g},
7313@id{i}, @id{o}, @id{p}, @id{s}, @id{u}, @id{X}, and @id{x}, 7313@id{i}, @id{o}, @id{p}, @id{s}, @id{u}, @id{X}, @id{x}, and @Char{%},
7314plus a non-C specifier @id{q}. 7314plus a non-C specifier @id{q}.
7315The accepted flags are @Char{-}, @Char{+}, @Char{#}, 7315The accepted flags are @Char{-}, @Char{+}, @Char{#},
7316@Char{0}, and @Char{ } (space). 7316@Char{0}, and @Char{ } (space).
@@ -8819,7 +8819,7 @@ because of its reliance on @CId{setlocale}.
8819 8819
8820@LibEntry{os.time ([table])| 8820@LibEntry{os.time ([table])|
8821 8821
8822Returns the current time when called without arguments, 8822Returns the current local time when called without arguments,
8823or a time representing the local date and time specified by the given table. 8823or a time representing the local date and time specified by the given table.
8824This table must have fields @id{year}, @id{month}, and @id{day}, 8824This table must have fields @id{year}, @id{month}, and @id{day},
8825and may have fields 8825and may have fields
@@ -9383,6 +9383,11 @@ Moreover, there were some changes in the parameters themselves.
9383@itemize{ 9383@itemize{
9384 9384
9385@item{ 9385@item{
9386@Lid{lua_newstate} has a third parameter,
9387a seed for the hashing of strings.
9388}
9389
9390@item{
9386The function @id{lua_resetthread} is deprecated; 9391The function @id{lua_resetthread} is deprecated;
9387it is equivalent to @Lid{lua_closethread} with 9392it is equivalent to @Lid{lua_closethread} with
9388@id{from} being @id{NULL}. 9393@id{from} being @id{NULL}.