elua lib: docs for elua_state_modules_setup

This commit is contained in:
Daniel Kolesa 2015-04-20 16:34:35 +01:00
parent 373ad4e9f6
commit 123955994b
1 changed files with 12 additions and 0 deletions

View File

@ -320,6 +320,18 @@ EAPI lua_State *elua_state_lua_state_get(const Elua_State *es);
* @ingroup Elua
*/
EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es);
/**
* @brief Set up module support for an Elua state.
*
* This loads the Elua module system and makes Lua aware of it. It also
* registers the Elua C utility library module.
*
* @param[in] es The Elua state.
* @return EINA_TRUE on success, EINA_FALSE on failure.
*
* @ingroup Elua
*/
EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es);
EAPI Eina_Bool elua_state_io_setup(const Elua_State *es);