I added a pretty basic compatibility module and refactored Selene code to use this compatibility code where there's disparity between Lua versions. Also fixed some other compile errors.
This simplifies the code quite a bit by centralizing all #if LUA_VER_NUM checks.
I added a pretty basic compatibility module and refactored Selene code to use this compatibility code where there's disparity between Lua versions. Also fixed some other compile errors.
This simplifies the code quite a bit by centralizing all #if LUA_VER_NUM checks.