mirror of
https://github.com/lua/lua.git
synced 2026-06-23 23:59:07 +00:00
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.
18 KiB
18 KiB