elua lib: docs for elua_util_app_load
This commit is contained in:
parent
ca056e51ef
commit
a5486874d5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue