|author||Roberto Ierusalimschy <email@example.com>||Tue Nov 03 16:34:36 2020 -0300|
|committer||Roberto Ierusalimschy <firstname.lastname@example.org>||Tue Nov 03 16:34:36 2020 -0300|
'luaL_newstate' should not allocate extra memory The allocation of a userdata for the state of the warn system can cause a panic if it fails; 'luaL_ref' also can fail. This commit re-implements the warn system so that it does not need an explicit state. Instead, the system uses different functions to represent the different states.
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 and send patches, post a message to the Lua mailing list.
Download official Lua releases from Lua.org.