<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua/loadlib.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>Short strings can be external, too</title>
<updated>2025-07-15T17:40:27+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-15T17:40:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=60b6599e8322dd93e3b33c9496ff035a1c45552f'/>
<id>urn:sha1:60b6599e8322dd93e3b33c9496ff035a1c45552f</id>
<content type='text'>
That complicates a little object equality (and therefore table access
for long strings), but the old behavior was somewhat weird. (Short
strings, a concept otherwise absent from the manual, could not be
external.)
</content>
</entry>
<entry>
<title>New method to unload DLLs</title>
<updated>2025-07-09T17:40:36+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-07-09T17:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=85a3c1699c9587a9e952b4ab75b1c6c310ebebea'/>
<id>urn:sha1:85a3c1699c9587a9e952b4ab75b1c6c310ebebea</id>
<content type='text'>
External strings created by DLLs may need the DLL code to be
deallocated. This implies that a DLL can only be unloaded after all
its strings were deallocated, which happen only after the run of all
finalizers. To ensure that order, we create a 'library string' to
represent each DLL and keep it locked. When this string is deallocated
(after the deallocation of any string created by the DLL) it closes its
corresponding DLL.
</content>
</entry>
<entry>
<title>Renaming two new functions</title>
<updated>2025-01-27T19:09:55+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2025-01-27T19:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=c4e7cdb541d89142056927ebdfd8f97017d38f45'/>
<id>urn:sha1:c4e7cdb541d89142056927ebdfd8f97017d38f45</id>
<content type='text'>
'lua_numbertostrbuff' -&gt; 'lua_numbertocstring'
'lua_pushextlstring' -&gt; 'lua_pushexternalstring'
</content>
</entry>
<entry>
<title>Added gcc option '-Wconversion'</title>
<updated>2024-07-27T16:32:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-27T16:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b'/>
<id>urn:sha1:0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b</id>
<content type='text'>
No warnings for standard numerical types. Still pending alternative
numerical types.
</content>
</entry>
<entry>
<title>Small changes in casts from void* to functions</title>
<updated>2024-07-02T14:09:46+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-07-02T14:09:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=781219dbe16fc327f5b828e1ff6fa45ec3265cba'/>
<id>urn:sha1:781219dbe16fc327f5b828e1ff6fa45ec3265cba</id>
<content type='text'>
Macro moved to llimits.h, and casts from void* to lua_CFunction first
go through 'voidf' (a pointer to a function from void to void), a kind
of void* for functions.
</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>Small simplification in 'findloader'</title>
<updated>2024-04-03T19:01:23+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2024-04-03T19:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=3507c3380f5251a49c63f87c81c027b2664795c7'/>
<id>urn:sha1:3507c3380f5251a49c63f87c81c027b2664795c7</id>
<content type='text'>
Instead of allways adding a prefix for the next message, and then
removing it if there is no message, add the prefix after each message.
</content>
</entry>
<entry>
<title>Default paths stored as external strings</title>
<updated>2023-11-13T16:41:59+00:00</updated>
<author>
<name>Roberto Ierusalimschy</name>
<email>roberto@inf.puc-rio.br</email>
</author>
<published>2023-11-13T16:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/lua/commit/?id=1028f296a8e6477cb556c75fe1397cd4e2762abe'/>
<id>urn:sha1:1028f296a8e6477cb556c75fe1397cd4e2762abe</id>
<content type='text'>
</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>
</feed>
