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:
Alexandre Erwin Ittner 2010-11-20 10:41:47 -02:00
parent 32c7b20967
commit 044877f838

View File

@ -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 },