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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elua/Elua.h b/src/lib/elua/Elua.h
index e764750c1c..84d243baa9 100644
--- 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);
166 */ 166 */
167EAPI Elua_State *elua_state_from_lua_state_get(lua_State *L); 167EAPI Elua_State *elua_state_from_lua_state_get(lua_State *L);
168 168
169/**
170 * @brief Destroy an Elua state.
171 *
172 * Given an Elua state, this destroys its internal Lua state as well as all
173 * other data its holding and then frees the Elua state itself.
174 *
175 * @param[in] es The Elua state.
176 *
177 * @ingroup Elua
178 */
169EAPI void elua_state_free(Elua_State *es); 179EAPI void elua_state_free(Elua_State *es);
170 180
171EAPI void elua_state_dirs_set(Elua_State *es, const char *core, 181EAPI void elua_state_dirs_set(Elua_State *es, const char *core,