Closed v1993 closed 5 years ago
I'm working on this right now. I'll send PR very soon.
Turned out to be quite easy overall.
Current progress on this: https://github.com/v1993/lgi/tree/lua53-integer
Implemented in #234, follow discussion there.
Merged into master now, closing this issue…
Currently, every single number passed to/received from lgi is float even in Lua 5.3. However, a lot of numbers GLib work with (for example, file sizes) are integers.
I'm not into lgi code, but I think it shouldn't be too hard to use
lua_pushinteger
in Lua 5.3 for unsigned/integers and enums?