elua lib: docs for elua_util_app_load
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Mon, 20 Apr 2015 15:53:34 +0000 (16:53 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Wed, 6 May 2015 14:05:22 +0000 (15:05 +0100)
src/lib/elua/Elua.h

index 5b99819..58cb104 100644 (file)
@@ -404,6 +404,19 @@ EAPI int elua_util_file_run(Elua_State *es, const char *fname);
  */
 EAPI int elua_util_string_run(Elua_State *es, const char *chunk,
                               const char *chname);
+
+/**
+ * @brief Loads an application.
+ *
+ * This loads an app, respecting the app path set on state initialization.
+ * Leaves the Lua stack clean. Actually runs the app.
+ *
+ * @param[in] es The Elua state.
+ * @param[in] appname The application name.
+ * @return EINA_TRUE on success, EINA_FALSE on failure.
+ *
+ * @ingroup Elua
+ */
 EAPI Eina_Bool elua_util_app_load(Elua_State *es, const char *appname);
 EAPI int elua_util_script_run(Elua_State *es, int argc, char **argv, int n,
                               int *quit);