summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-13 16:21:25 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:20 +0100
commitd8890209afc702643e1a066279eb8eda09b1119b (patch)
treeadaa6f3d66dbffff87e637eb750455ff9ef3cb39 /src/bin
parenteea537ded38c546d5c3500c711e5f6d61c968355 (diff)
elua lib: unify API conventions
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elua/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/elua/main.c b/src/bin/elua/main.c
index 48665699f9..ca7ccc1ab2 100644
--- a/src/bin/elua/main.c
+++ b/src/bin/elua/main.c
@@ -110,11 +110,10 @@ elua_main(lua_State *L)
110 elua_state_dirs_set(es, coredir, moddir, appsdir); 110 elua_state_dirs_set(es, coredir, moddir, appsdir);
111 elua_state_dirs_fill(es, noenv); 111 elua_state_dirs_fill(es, noenv);
112 112
113 if (!elua_state_setup_modules(es) || !elua_state_setup_i18n(es)) 113 if (!elua_state_modules_setup(es) || !elua_state_i18n_setup(es)
114 || !elua_state_io_setup(es))
114 goto error; 115 goto error;
115 116
116 elua_io_register(es);
117
118 lua_gc(L, LUA_GCRESTART, 0); 117 lua_gc(L, LUA_GCRESTART, 0);
119 118
120 INF("elua lua state initialized"); 119 INF("elua lua state initialized");