<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/luaconf.h, branch v5.4.9</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.4.9</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.4.9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2024-05-13T16:23:45+00:00</updated>
<entry>
<title>Details</title>
<updated>2024-05-13T16:23:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-05-13T16:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e84f7bf19852c35ad0a1e9a1654a7b99a211e17c'/>
<id>urn:sha1:e84f7bf19852c35ad0a1e9a1654a7b99a211e17c</id>
<content type='text'>
Typos in comments.
</content>
</entry>
<entry>
<title>Option '-l' discards version sufix from file name</title>
<updated>2023-05-15T16:46:38+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-05-15T16:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=09f3c2372f5dbeaec9f50614a26c1b5761726a88'/>
<id>urn:sha1:09f3c2372f5dbeaec9f50614a26c1b5761726a88</id>
<content type='text'>
Like 'require', the command-line option '-l' discards an optional
version suffix (everything after an hyphen) from a file name when
creating the module name.
</content>
</entry>
<entry>
<title>New macro LUA_USE_IOS</title>
<updated>2023-02-02T16:43:41+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-02-02T16:43:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cf08915d62e338c987b71c078b148490510e9fe7'/>
<id>urn:sha1:cf08915d62e338c987b71c078b148490510e9fe7</id>
<content type='text'>
Do not try to detect automatically whether system is iOS; it is
simpler and more reliable to let the programmer inform that.
</content>
</entry>
<entry>
<title>Changed the growth rate of string buffers</title>
<updated>2022-09-06T13:58:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-09-06T13:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f'/>
<id>urn:sha1:69b77b6fde32cdf5dcaeeb92996bf6c4697e0b4f</id>
<content type='text'>
The growth rate of string buffers was reduced from 2 to 1.5 (3/2).
As string buffers start larger (256~1024 bytes), they don't need to
grow that fast. Moreover, a lower rate allows multiplicative growth up
to larger sizes (3/2 of the maximum). (After that, the growth becomes
linear, which is mostly useless.)
</content>
</entry>
<entry>
<title>'lua_checkstack' doesn't need to check stack overflow</title>
<updated>2022-05-23T13:38:03+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2022-05-23T13:38:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=4a00f61276a9a38b0427fbae3dbbd86dfb5a0749'/>
<id>urn:sha1:4a00f61276a9a38b0427fbae3dbbd86dfb5a0749</id>
<content type='text'>
'luaD_growstack' already checks that. This commit also fixes an
internal bug in 'luaD_growstack': a large 'n' could cause an arithmetic
overflow when computing 'needed'.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2021-05-24T19:48:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-05-24T19:48:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1e6918d553e0d76148f7de0af63fdce326e049b8'/>
<id>urn:sha1:1e6918d553e0d76148f7de0af63fdce326e049b8</id>
<content type='text'>
- Removed unused (and trivial) definition LUA_UNSIGNEDBITS
- Alignment structure in pack/unpack moved to a narrower scope
</content>
</entry>
<entry>
<title>Added option LUA_NOBUILTIN</title>
<updated>2021-03-12T18:03:33+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-12T18:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=eadd8c7178c79c814ecca9652973a9b9dd4cc71b'/>
<id>urn:sha1:eadd8c7178c79c814ecca9652973a9b9dd4cc71b</id>
<content type='text'>
This option allows external code to avoid the use of gcc builtin macro
'__builtin_expect' in the Lua API.
</content>
</entry>
<entry>
<title>Uses of "likely" in macros active to all users</title>
<updated>2021-03-09T15:50:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-03-09T15:50:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a7b8b27dd39f45b9464ffc4226b0616c3ffe5ad7'/>
<id>urn:sha1:a7b8b27dd39f45b9464ffc4226b0616c3ffe5ad7</id>
<content type='text'>
The use of 'l_likely' in auxlib macros 'luaL_argcheck' and
'luaL_argexpected' should not be restricted to Lua's own code.
For that, 'l_likely' was renamed to 'luai_likely' to be exported
to external code.
</content>
</entry>
<entry>
<title>Broadening the use of branch hints</title>
<updated>2021-02-24T14:14:44+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-24T14:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=59c88f846d1dcd901a4420651aedf27816618923'/>
<id>urn:sha1:59c88f846d1dcd901a4420651aedf27816618923</id>
<content type='text'>
More uses of macros 'likely'/'unlikely' (renamed to
'l_likely'/'l_unlikely'), both in range (extended to the
libraries) and in scope (extended to hooks, stack growth).
</content>
</entry>
<entry>
<title>Forbid changing numerical types through compiler options</title>
<updated>2021-02-05T18:30:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-05T18:30:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=dee6433a89b088a1f8da9531a92a2a2693e5dac7'/>
<id>urn:sha1:dee6433a89b088a1f8da9531a92a2a2693e5dac7</id>
<content type='text'>
'luaconf.h' always defines options LUA_32BITS, LUA_C89_NUMBERS,
LUA_INT_TYPE, and LUA_FLOAT_TYPE (using 0/1 for the first two),
to avoid they being set through compiler options. (It is too easy
to forget these options when compiling other software that
interoperates with Lua.)
</content>
</entry>
</feed>
