lua: wrap luaL_register since Lua 5.2
luaL_setfuncs exists since lua5.2 and luaL_register was already deprecated at that version. Using the luaL_register since Lua 5.2 prevents using the deprecated function but mostly also enforce the future state of the code to be used on more platforms.
Loading
Please register or sign in to comment