diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-04-20 16:35:55 +0100 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2015-05-06 15:05:22 +0100 |
commit | 098b135799ce3516258024f62e6f5b3bd2ff7d18 (patch) | |
tree | 9d7f91928e3b32f64b13ffb1ee6f25f3430f33c7 /src/lib | |
parent | 123955994b05bb3bef3c32e299b95f51107b7b34 (diff) |
elua lib: docs for elua_state_io_setup
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/elua/Elua.h | 12 |
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 | */ |
335 | EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es); | 335 | EAPI 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 | */ | ||
336 | EAPI Eina_Bool elua_state_io_setup(const Elua_State *es); | 348 | EAPI Eina_Bool elua_state_io_setup(const Elua_State *es); |
337 | 349 | ||
338 | EAPI int elua_io_loadfile(const Elua_State *es, const char *fname); | 350 | EAPI int elua_io_loadfile(const Elua_State *es, const char *fname); |