aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wrap visibility pragmas in #ifndef _WIN32E. Westbrook2019-03-101-0/+4
|
* compat: pragma visibilityE. Westbrook2019-03-101-7/+11
|
* Fix static linking problem with LuaJITPhilipp Janda2019-02-231-0/+2
| | | | | | | | | | LuaJIT and LuaSocket both define new Lua APIs from Lua 5.2 (in particular `luaL_setfuncs` and `luaL_testudata`). When linking both statically, the one definition rule strikes and linking fails. This commit fixes the issue by renaming the LuaSocket versions of those functions behind the scenes using the C preprocessor. Closes #214
* src/compat.c: provide luaL_testudata() for use by auxiliar.c under Lua 5.1E. Westbrook2018-06-041-0/+1
|
* New compat.h module implements luaL_setfuncs.Diego Nehab2015-08-211-0/+11
Makes initialization code simpler everywhere.