From 123955994b05bb3bef3c32e299b95f51107b7b34 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Mon, 20 Apr 2015 16:34:35 +0100 Subject: [PATCH] elua lib: docs for elua_state_modules_setup --- src/lib/elua/Elua.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h index 23ec100b1a..6feb2dd79e 100644 --- a/src/lib/elua/Elua.h +++ b/src/lib/elua/Elua.h @@ -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); -- 2.34.1