<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/ldblib.c, 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-04-07T16:42:34+00:00</updated>
<entry>
<title>Avoid macros luaL_loadbuffer and luaL_loadfile</title>
<updated>2026-04-07T16:42:34+00:00</updated>
<author>
<name>Roberto I</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2026-04-07T16:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=29cf284089d543408d726440a3f1acaecdf73636'/>
<id>urn:sha1:29cf284089d543408d726440a3f1acaecdf73636</id>
<content type='text'>
Use luaL_loadbufferx and luaL_loadfilex instead, being explicit about
whether to accept binary chunks.
</content>
</entry>
<entry>
<title>Debug information about extra arguments from __call</title>
<updated>2024-11-19T17:09:18+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-11-19T17:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=50c7c915ee2fa239043d5456237f5145d064089b'/>
<id>urn:sha1:50c7c915ee2fa239043d5456237f5145d064089b</id>
<content type='text'>
'debug.getinfo' can return number of extra arguments added to a call by
a chain of __call metavalues. That information is being used to improve
error messages about errors in these extra arguments.
</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>Removed deprecated function 'setcstacklimit'</title>
<updated>2024-02-07T17:20:43+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-02-07T17:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=7360f8d0fd91344deb583ff76b8250a1883dcd4c'/>
<id>urn:sha1:7360f8d0fd91344deb583ff76b8250a1883dcd4c</id>
<content type='text'>
</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>Bug: cannot allow the call 'debug.getinfo(0, "&gt;")'</title>
<updated>2021-02-15T13:38:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2021-02-15T13:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=38cc7d40a4bcb89314d212fdffd2ca8deebc3cb7'/>
<id>urn:sha1:38cc7d40a4bcb89314d212fdffd2ca8deebc3cb7</id>
<content type='text'>
A 'what' argument starting with '&gt;' indicates that there is a function
in the C stack, which won't be there if the first argument is not a
function.
</content>
</entry>
<entry>
<title>Details</title>
<updated>2020-12-02T18:13:13+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-12-02T18:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=d9d2904f09a8039522dfd6f118d4e37bffd5bdf6'/>
<id>urn:sha1:d9d2904f09a8039522dfd6f118d4e37bffd5bdf6</id>
<content type='text'>
Names in the parser and other details that do not change actual code.
</content>
</entry>
<entry>
<title>'lua_upvalueid' returns NULL on invalid upvalue index</title>
<updated>2020-10-12T17:51:28+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-10-12T17:51:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=30528049f1d11ea2854a6431e8e8524f83206559'/>
<id>urn:sha1:30528049f1d11ea2854a6431e8e8524f83206559</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revision of stackless implementation</title>
<updated>2020-10-12T15:29:09+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-09-23T13:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=287b302acb8d925178e9edb800f0a8d18c7d35f6'/>
<id>urn:sha1:287b302acb8d925178e9edb800f0a8d18c7d35f6</id>
<content type='text'>
- more organized handling of 'nCcalls'
- comments
- deprecation of 'setcstacklimit'
</content>
</entry>
<entry>
<title>Avoid calling 'fprintf' with NULL</title>
<updated>2020-06-09T19:12:01+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2020-06-09T19:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=364e569945c044fd18c70ee1bc851364534aef97'/>
<id>urn:sha1:364e569945c044fd18c70ee1bc851364534aef97</id>
<content type='text'>
Avoid undefined behavior in calls like «fprintf("%s", NULL)».
('lua_writestringerror' is implemented as 'fprintf', and 'lua_tostring'
can return NULL if object is not a string.)
</content>
</entry>
</feed>
