projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7c9a3
)
elua lib: add state_free doc
author
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Mon, 20 Apr 2015 13:49:10 +0000
(14:49 +0100)
committer
Daniel Kolesa
<d.kolesa@osg.samsung.com>
Wed, 6 May 2015 14:05:21 +0000
(15:05 +0100)
src/lib/elua/Elua.h
patch
|
blob
|
history
diff --git
a/src/lib/elua/Elua.h
b/src/lib/elua/Elua.h
index
e764750
..
84d243b
100644
(file)
--- a/
src/lib/elua/Elua.h
+++ b/
src/lib/elua/Elua.h
@@
-166,6
+166,16
@@
EAPI Elua_State *elua_state_new(const char *progname);
*/
EAPI Elua_State *elua_state_from_lua_state_get(lua_State *L);
+/**
+ * @brief Destroy an Elua state.
+ *
+ * Given an Elua state, this destroys its internal Lua state as well as all
+ * other data its holding and then frees the Elua state itself.
+ *
+ * @param[in] es The Elua state.
+ *
+ * @ingroup Elua
+ */
EAPI void elua_state_free(Elua_State *es);
EAPI void elua_state_dirs_set(Elua_State *es, const char *core,