Skip to content

Lua: Check size of lua_Integer

John Thacker requested to merge johnthacker/wireshark:wslua_integer into master

Check and store the size of lua_Integer. (There are some defines that luaconf.h has for maximum number storable in an integer, but they are different in different versions. This always exists.) Store it in a define.

Note that the lua_Integer size can be smaller, or larger, than the size of an int on a platform. On Lua 5.3 and later, it does default to being 64-bit.

Merge request reports