summaryrefslogtreecommitdiff
path: root/src/lib/elua/Elua.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elua/Elua.h')
-rw-r--r--src/lib/elua/Elua.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index 4d3e1c9255..23ec100b1a 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -306,6 +306,19 @@ EAPI Eina_Bool elua_state_appload_ref_push(Elua_State *es);
306 */ 306 */
307EAPI lua_State *elua_state_lua_state_get(const Elua_State *es); 307EAPI lua_State *elua_state_lua_state_get(const Elua_State *es);
308 308
309/**
310 * @brief Set up internationalization support for an Elua state.
311 *
312 * This function sets up correct i18n for an Elua state. That means loading
313 * the gettext bindings and making Lua aware of them. This also works when
314 * i18n support is disabled at compilation time, so you can just call it
315 * unconditionally.
316 *
317 * @param[in] es The Elua state.
318 * @return EINA_TRUE on success, EINA_FALSE on failure.
319 *
320 * @ingroup Elua
321 */
309EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es); 322EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es);
310EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es); 323EAPI Eina_Bool elua_state_modules_setup(const Elua_State *es);
311EAPI Eina_Bool elua_state_io_setup(const Elua_State *es); 324EAPI Eina_Bool elua_state_io_setup(const Elua_State *es);