<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/lauxlib.h, branch v5.5.1</title>
<subtitle>A mirror of https://github.com/lua/lua
</subtitle>
<id>https://git.lua4.win/lua/atom?h=v5.5.1</id>
<link rel='self' href='https://git.lua4.win/lua/atom?h=v5.5.1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/'/>
<updated>2026-01-04T19:39:22+00:00</updated>
<entry>
<title>Special case for 'string.rep' over an empty string</title>
<updated>2026-01-04T19:39:22+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-01-04T19:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=5cfc725a8b61a6f96c7324f60ac26739315095ba'/>
<id>urn:sha1:5cfc725a8b61a6f96c7324f60ac26739315095ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Standard allocator function added to the API</title>
<updated>2025-10-17T16:53:35+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-10-17T16:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=b352217b8498a5ed8f6c954b3da365fcbb89751f'/>
<id>urn:sha1:b352217b8498a5ed8f6c954b3da365fcbb89751f</id>
<content type='text'>
That makes easier to redefine luaL_newstate.
</content>
</entry>
<entry>
<title>Detail</title>
<updated>2025-02-28T18:48:45+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-02-28T18:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=cb88c1cd5d22fe7c56f4f374ded7c16f7cf14bf3'/>
<id>urn:sha1:cb88c1cd5d22fe7c56f4f374ded7c16f7cf14bf3</id>
<content type='text'>
Added macro LUA_FAILISFALSE to make easier to change the fail value
from nil to false.
</content>
</entry>
<entry>
<title>lua_writestring &amp; co. moved to llimits.h</title>
<updated>2024-06-21T15:29:08+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-21T15:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=e24ce8c2b322226bbc211e57f301c265a2622c4b'/>
<id>urn:sha1:e24ce8c2b322226bbc211e57f301c265a2622c4b</id>
<content type='text'>
They don't need to be visible by clients of Lua.
</content>
</entry>
<entry>
<title>llimits.h being used by all Lua code</title>
<updated>2024-06-20T17:46:06+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-06-20T17:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0'/>
<id>urn:sha1:a08d82eb132bfd9db5b91e0d5ebcb81d7b26dcd0</id>
<content type='text'>
The definitions in llimits.h are useful not only for the core. That
header only defines types and '#define's, so libs and core still do
not share any real code/data.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2024-03-13T12:20:34+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-03-13T12:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=52aa2b5d24c560fb4d7a642971571ff9cbeabfcd'/>
<id>urn:sha1:52aa2b5d24c560fb4d7a642971571ff9cbeabfcd</id>
<content type='text'>
- 'unsigned int' -&gt; 'unsigned'
- Some explicit casts to avoid warnings
- Test avoids printing the value of 'fail' (which may not be nil)
</content>
</entry>
<entry>
<title>New function 'luaL_makeseed'</title>
<updated>2023-03-20T19:13:17+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-03-20T19:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=5a04f1851e0d42b4bcbb0af103490bc964e985aa'/>
<id>urn:sha1:5a04f1851e0d42b4bcbb0af103490bc964e985aa</id>
<content type='text'>
This function unifies code from 'lua_newstate', 'math.randomseed',
and 'table.sort' that tries to create a value with a minimum level
of randomness.
</content>
</entry>
<entry>
<title>Removed goto's in 'luaD_precall'</title>
<updated>2021-10-18T14:58:40+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-10-18T14:58:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3699446aaf5c7a07af028b1ae43cf52d2d4dda59'/>
<id>urn:sha1:3699446aaf5c7a07af028b1ae43cf52d2d4dda59</id>
<content type='text'>
(plus a detail in lauxlib.h.)
</content>
</entry>
<entry>
<title>Avoid overflows when incrementing parameters in C</title>
<updated>2021-09-22T16:10:39+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-09-22T16:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=deac067ed39a44c001599c0d15de09872496b2aa'/>
<id>urn:sha1:deac067ed39a44c001599c0d15de09872496b2aa</id>
<content type='text'>
Any C function can receive maxinteger as an integer argument, and
therefore cannot increment it without some care (e.g., doing unsigned
arithmetic as the core does).
</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>
</feed>
