mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-08-31 16:22:10 +02:00
Replace deprecated 'luaL_reg' by 'luaL_Reg'
'luaL_reg' was deprecated in Lua 5.1; Ensures that this version is free of deprecated constructions.
This commit is contained in:
@@ -200,7 +200,7 @@ static int Liconv_close(lua_State *L) {
|
||||
}
|
||||
|
||||
|
||||
static const luaL_reg iconv_funcs[] = {
|
||||
static const luaL_Reg iconv_funcs[] = {
|
||||
{ "open", Liconv_open },
|
||||
{ "new", Liconv_open },
|
||||
{ "iconv", Liconv },
|
||||
|
Reference in New Issue
Block a user