summaryrefslogtreecommitdiff
path: root/src/lib/elua/elua.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-06-28 11:51:29 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-06-28 11:51:29 +0200
commit352c044524cbc34cc083f0465544e8db95a70184 (patch)
tree849ea5db608f57d3d4eab6a780ede2b38b7da4e2 /src/lib/elua/elua.c
parente65e90a6600814301d5a9c603c943c3c5d91dd8d (diff)
elua: use up to date lua API
luaL_reg is a 5.0 API which we don't support.
Diffstat (limited to '')
-rw-r--r--src/lib/elua/elua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index 185f592890..2d9eebe3c3 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -355,7 +355,7 @@ _elua_get_localeconv(lua_State *L)
355 return 1; 355 return 1;
356}; 356};
357 357
358const luaL_reg gettextlib[] = 358const luaL_Reg gettextlib[] =
359{ 359{
360 { "bind_textdomain", _elua_gettext_bind_textdomain }, 360 { "bind_textdomain", _elua_gettext_bind_textdomain },
361 { "get_message_language", _elua_get_message_language }, 361 { "get_message_language", _elua_get_message_language },
@@ -442,7 +442,7 @@ _elua_file_rmrf(lua_State *L)
442 return 1; 442 return 1;
443} 443}
444 444
445const luaL_reg _elua_cutillib[] = 445const luaL_Reg _elua_cutillib[] =
446{ 446{
447 { "init_module", _elua_module_init }, 447 { "init_module", _elua_module_init },
448 { "popenv" , _elua_io_popen }, 448 { "popenv" , _elua_io_popen },