upb
upb copied to clipboard
Lua binding compatibility for lua 5.3+
-
luaL_checkintis replaced byluaL_checkintegerand is removed from lua 5.3 -
lua_isintegeris already defined in lua 5.3+ -
else if (isprint(ch))inupb/bindings/lua/upbc.ccis UB when ch is negative, and will crash when compiled by MSVC.