summaryrefslogtreecommitdiff
path: root/src/bin/elua
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-09 14:17:38 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:19 +0100
commit19bb7eb4608c30733f92a655d758dbfa525cf1f8 (patch)
tree4498854a3cb7c3bfa8788d912c20a9cf1da86c2f /src/bin/elua
parentf17e8025b8cbf36b4cf125ac32ed89c0f17627a3 (diff)
elua lib: new APIs to retrieve dirs
Diffstat (limited to 'src/bin/elua')
-rw-r--r--src/bin/elua/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/elua/main.c b/src/bin/elua/main.c
index b32058d0c6..b6693aa00c 100644
--- a/src/bin/elua/main.c
+++ b/src/bin/elua/main.c
@@ -125,9 +125,9 @@ elua_init_module(lua_State *L)
125static int 125static int
126elua_register_require(lua_State *L) 126elua_register_require(lua_State *L)
127{ 127{
128 const char *corepath = elua_state->coredir; 128 const char *corepath = elua_state_core_dir_get(elua_state);
129 const char *modpath = elua_state->moddir; 129 const char *modpath = elua_state_mod_dir_get(elua_state);
130 const char *appspath = elua_state->appsdir; 130 const char *appspath = elua_state_apps_dir_get(elua_state);
131 Eina_List *largs = lua_touserdata(L, lua_upvalueindex(1)), *l = NULL; 131 Eina_List *largs = lua_touserdata(L, lua_upvalueindex(1)), *l = NULL;
132 Eina_Bool noenv = lua_toboolean (L, lua_upvalueindex(2)); 132 Eina_Bool noenv = lua_toboolean (L, lua_upvalueindex(2));
133 Arg_Data *data = NULL; 133 Arg_Data *data = NULL;