commit | 975d4e0592f980aef09c432302496d834249b6a7 | [log] [tgz] |
---|---|---|
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Dec 03 10:53:46 2024 -0300 |
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | Tue Dec 03 10:53:46 2024 -0300 |
tree | 6cedfb17d1c001116df4a6f18510473fbfe28727 | |
parent | 04e495403ba66e88abfb5cc4cf1887f094eea57f [diff] |
Fix in the definition of 'sizeLclosure' The array at the end of a Lua closure has pointers to upvalues, not to tagged values. This bug cannot cause any issue: The ISO C standard requires that all pointers to structures have the same representation, so sizeof(TValue*) must be equal to sizeof(UpVal*).
This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.
Please do not send pull requests. To report issues, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.