summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elua/Elua.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index 6feb2dd79e..83441ea7bd 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -333,6 +333,18 @@ EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es);
333 * @ingroup Elua 333 * @ingroup Elua
334 */ 334 */
335EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es); 335EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es);
336
337/**
338 * @brief Set up IO support for an Elua state.
339 *
340 * Elua provides its own loadfile based around mmap to replace the less
341 * efficient Lua version. This function takes care of the setup.
342 *
343 * @param[in] es The Elua state.
344 * @return EINA_TRUE on success, EINA_FALSE on failure.
345 *
346 * @ingroup Elua
347 */
336EAPI Eina_Bool elua_state_io_setup(const Elua_State *es); 348EAPI Eina_Bool elua_state_io_setup(const Elua_State *es);
337 349
338EAPI int elua_io_loadfile(const Elua_State *es, const char *fname); 350EAPI int elua_io_loadfile(const Elua_State *es, const char *fname);