diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-21 16:36:24 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-06-21 16:36:24 -0300 |
commit | 0f7025dcae08e35a31866234d8d757ab54392190 (patch) | |
tree | 4a76de036dde4d1754cc31fa216bd3aabba82b61 /manual | |
parent | ef28e5f789f7e7be1a3961d13cb35bbfd2542997 (diff) | |
download | lua-0f7025dcae08e35a31866234d8d757ab54392190.tar.gz lua-0f7025dcae08e35a31866234d8d757ab54392190.tar.bz2 lua-0f7025dcae08e35a31866234d8d757ab54392190.zip |
Details in the manual
Diffstat (limited to 'manual')
-rw-r--r-- | manual/manual.of | 13 |
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 | |||
3713 | through this function @seeF{lua_Alloc}. | 3713 | through this function @seeF{lua_Alloc}. |
3714 | The second argument, @id{ud}, is an opaque pointer that Lua | 3714 | The second argument, @id{ud}, is an opaque pointer that Lua |
3715 | passes to the allocator in every call. | 3715 | passes to the allocator in every call. |
3716 | The third argument, @id{seed}, is a seed for the hashing of | 3716 | The third argument, @id{seed}, |
3717 | strings when they are used as table keys. | 3717 | is a seed for the hashing of strings. |
3718 | 3718 | ||
3719 | } | 3719 | } |
3720 | 3720 | ||
@@ -7310,7 +7310,7 @@ which must be a string. | |||
7310 | The format string follows the same rules as the @ANSI{sprintf}. | 7310 | The format string follows the same rules as the @ANSI{sprintf}. |
7311 | The accepted conversion specifiers are | 7311 | The 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{%}, |
7314 | plus a non-C specifier @id{q}. | 7314 | plus a non-C specifier @id{q}. |
7315 | The accepted flags are @Char{-}, @Char{+}, @Char{#}, | 7315 | The 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 | ||
8822 | Returns the current time when called without arguments, | 8822 | Returns the current local time when called without arguments, |
8823 | or a time representing the local date and time specified by the given table. | 8823 | or a time representing the local date and time specified by the given table. |
8824 | This table must have fields @id{year}, @id{month}, and @id{day}, | 8824 | This table must have fields @id{year}, @id{month}, and @id{day}, |
8825 | and may have fields | 8825 | and 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, | ||
9387 | a seed for the hashing of strings. | ||
9388 | } | ||
9389 | |||
9390 | @item{ | ||
9386 | The function @id{lua_resetthread} is deprecated; | 9391 | The function @id{lua_resetthread} is deprecated; |
9387 | it is equivalent to @Lid{lua_closethread} with | 9392 | it is equivalent to @Lid{lua_closethread} with |
9388 | @id{from} being @id{NULL}. | 9393 | @id{from} being @id{NULL}. |