jeremyong / Selene

Simple C++11 friendly header-only bindings to Lua
zlib License
813 stars 117 forks source link

Wider Lua compatibility fixes... #143

Closed snichols closed 8 years ago

snichols commented 8 years ago

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.

snichols commented 8 years ago

Let me break these out into branches. :)