lua: All functions that receive an integer, can receive a number too (with math.floor() conversion)

This commit is contained in:
David Capello 2018-11-05 17:26:18 -03:00
parent 17496c8630
commit e13d424ced

View File

@ -162,6 +162,7 @@ if(ENABLE_SCRIPTING)
lua/lstrlib.c
lua/ltablib.c
lua/lutf8lib.c)
target_compile_definitions(lua PUBLIC LUA_FLOORN2I=1)
target_include_directories(lua PUBLIC lua)
target_include_directories(lauxlib PUBLIC lua)
target_include_directories(lualib PUBLIC lua)