summaryrefslogtreecommitdiff
path: root/src/lib/elua
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-04-20 16:12:22 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:22 +0100
commit8bd25cc966e2f2ab179d562c1f7845b744e475fd (patch)
treea5702f17c1852f265b35a994c5be14d86d14a27e /src/lib/elua
parenta27fe217df1e5ce2d7cf62b316ca2cf3367aa4b4 (diff)
elua lib: docs for elua_state_lua_state_get
Diffstat (limited to 'src/lib/elua')
-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 ffc318416c..4d3e1c9255 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -292,6 +292,18 @@ EAPI Eina_Bool elua_state_require_ref_push(Elua_State *es);
292 */ 292 */
293EAPI Eina_Bool elua_state_appload_ref_push(Elua_State *es); 293EAPI Eina_Bool elua_state_appload_ref_push(Elua_State *es);
294 294
295/**
296 * @brief Retrieve the Lua state from an Elua state.
297 *
298 * This function retrieves the Lua state from a valid Elua state. As an
299 * Elua state is always initialized, this will return a valid state, unless
300 * the given Elua state is NULL, in which case it will also return NULL.
301 *
302 * @param[in] es The Elua state.
303 * @return The Lua state or NULL.
304 *
305 * @ingroup Elua
306 */
295EAPI lua_State *elua_state_lua_state_get(const Elua_State *es); 307EAPI lua_State *elua_state_lua_state_get(const Elua_State *es);
296 308
297EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es); 309EAPI Eina_Bool elua_state_i18n_setup(const Elua_State *es);