summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-04-20 16:53:34 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:22 +0100
commita5486874d5a54032f1e46afff03c5cf0c11062fb (patch)
tree0b6638617bef4587608d297d2df3bea351500fa0 /src
parentca056e51ef499dc386e28d99bcb8f0acd998dc49 (diff)
elua lib: docs for elua_util_app_load
Diffstat (limited to 'src')
-rw-r--r--src/lib/elua/Elua.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index 5b9981969b..58cb104a70 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -404,6 +404,19 @@ EAPI int elua_util_file_run(Elua_State *es, const char *fname);
404 */ 404 */
405EAPI int elua_util_string_run(Elua_State *es, const char *chunk, 405EAPI int elua_util_string_run(Elua_State *es, const char *chunk,
406 const char *chname); 406 const char *chname);
407
408/**
409 * @brief Loads an application.
410 *
411 * This loads an app, respecting the app path set on state initialization.
412 * Leaves the Lua stack clean. Actually runs the app.
413 *
414 * @param[in] es The Elua state.
415 * @param[in] appname The application name.
416 * @return EINA_TRUE on success, EINA_FALSE on failure.
417 *
418 * @ingroup Elua
419 */
407EAPI Eina_Bool elua_util_app_load(Elua_State *es, const char *appname); 420EAPI Eina_Bool elua_util_app_load(Elua_State *es, const char *appname);
408EAPI int elua_util_script_run(Elua_State *es, int argc, char **argv, int n, 421EAPI int elua_util_script_run(Elua_State *es, int argc, char **argv, int n,
409 int *quit); 422 int *quit);