summaryrefslogtreecommitdiff
path: root/src/lib/elua/elua.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2015-04-10 14:39:20 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:20 +0100
commite806ae6f5c606279897309e3ab5790d9837526fa (patch)
tree6956d24e457b18803259186573254cfed613e66a /src/lib/elua/elua.c
parent13bd7ba6533a54759df079467f9842ccb6ae4e24 (diff)
elua lib: add a way to retrieve the progname
Diffstat (limited to '')
-rw-r--r--src/lib/elua/elua.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index fb85901ec2..1827e1e878 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -172,6 +172,13 @@ elua_state_apps_dir_get(const Elua_State *es)
172 return es->moddir; 172 return es->moddir;
173} 173}
174 174
175EAPI Eina_Stringshare *
176elua_state_prog_name_get(const Elua_State *es)
177{
178 EINA_SAFETY_ON_NULL_RETURN_VAL(es, NULL);
179 return es->progname;
180}
181
175EAPI void 182EAPI void
176elua_state_include_path_add(Elua_State *es, const char *path) 183elua_state_include_path_add(Elua_State *es, const char *path)
177{ 184{