lua-compat-5.3
lua-compat-5.3 copied to clipboard
Compatibility module providing Lua-5.3-style APIs for Lua 5.2 and 5.1
Lua 5.4
How should compat-5.3 be updated for Lua 5.4? At least to allow projects to compile against 5.4 we need something like: ```diff diff --git a/vendor/compat53/c-api/compat-5.3.h b/vendor/compat53/c-api/compat-5.3.h index 8e10893..fb6cc25 100644 ---...
As my failing test over at https://travis-ci.org/daurnimator/lua-http/builds/82309531 showed me: `debug.traceback` in 5.3 has minor changes from 5.1 - It reports the type of the variable the function was in (from...
```c PS C:\Users\Frit\Documents> luarocks install tabular Installing https://luarocks.org/tabular-0.4-1.src.rock Missing dependencies for tabular 0.4-1: compat53 (not installed) ansicolors ~> 1.0 (not installed) tabular 0.4-1 depends on lua >= 5.1 (5.4-1 provided...
Thanks to @Frityet for reporting! Fixes #63.
I see v12 got tagged here, but I don't see it on luarocks.org yet. I started using the C code directly, but now have a project with v11 Lua sources...
The following code causes an overwrite of the file metatype from `FILE*` to `userdata` which breaks compatibility with native C functions that expect a `FILE*` when performing something like `luaL_checkudata(L,...
Explicitly marks API symbols with __attribute__((visibility("default")) on GNU compatible compilers. When building with -fvisibility=hidden, LTO, etc., each lib had its symbol hidden. This ensures the shared libraries will respectively export...
We found a bug when running LuaRocks 3.12.2 using Lua 5.1 via compat53 (see luarocks/luarocks#1831). They rely on `file:write()` behavior from Lua >= 5.2 to return the `fd` if no...