summaryrefslogtreecommitdiff
path: root/src/lib/elua/elua.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-14 14:14:50 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:20 +0100
commitf8f9cc14a798a4e760e09c6c3a2d54eea02e40ee (patch)
treec3df7e80875dc18c2dff7906942933e125aa7721 /src/lib/elua/elua.c
parentd8890209afc702643e1a066279eb8eda09b1119b (diff)
elua lib: API rename
Diffstat (limited to 'src/lib/elua/elua.c')
-rw-r--r--src/lib/elua/elua.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index 0207681947..229eb65a12 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -216,7 +216,7 @@ elua_state_lua_state_get(const Elua_State *es)
216} 216}
217 217
218EAPI Elua_State * 218EAPI Elua_State *
219elua_state_from_lua_get(lua_State *L) 219elua_state_from_lua_state_get(lua_State *L)
220{ 220{
221 EINA_SAFETY_ON_NULL_RETURN_VAL(L, NULL); 221 EINA_SAFETY_ON_NULL_RETURN_VAL(L, NULL);
222 lua_getfield(L, LUA_REGISTRYINDEX, "elua_ptr"); 222 lua_getfield(L, LUA_REGISTRYINDEX, "elua_ptr");
@@ -339,7 +339,7 @@ elua_state_modules_setup(const Elua_State *es)
339EAPI int 339EAPI int
340elua_module_init(lua_State *L) 340elua_module_init(lua_State *L)
341{ 341{
342 Elua_State *es = elua_state_from_lua_get(L); 342 Elua_State *es = elua_state_from_lua_state_get(L);
343 if (!lua_isnoneornil(L, 1)) 343 if (!lua_isnoneornil(L, 1))
344 { 344 {
345 lua_pushvalue(L, 1); 345 lua_pushvalue(L, 1);
@@ -357,7 +357,7 @@ elua_module_init(lua_State *L)
357EAPI int 357EAPI int
358elua_module_system_init(lua_State *L) 358elua_module_system_init(lua_State *L)
359{ 359{
360 Elua_State *es = elua_state_from_lua_get(L); 360 Elua_State *es = elua_state_from_lua_state_get(L);
361 const char *corepath = es->coredir; 361 const char *corepath = es->coredir;
362 const char *modpath = es->moddir; 362 const char *modpath = es->moddir;
363 const char *appspath = es->appsdir; 363 const char *appspath = es->appsdir;