summaryrefslogtreecommitdiff
path: root/src/lib/elua
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-04-20 16:52:21 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-05-06 15:05:22 +0100
commitca056e51ef499dc386e28d99bcb8f0acd998dc49 (patch)
tree1aa3826771305f14830560dffa5cb6e73b86f18d /src/lib/elua
parentf9520f7974424eaa3c5a33d7c81f555cfc82fca1 (diff)
elua lib: docs for elua_util_string_run
Diffstat (limited to 'src/lib/elua')
-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 a1ba8a7dac..5b9981969b 100644
--- a/src/lib/elua/Elua.h
+++ b/src/lib/elua/Elua.h
@@ -389,6 +389,19 @@ EAPI int elua_util_require(Elua_State *es, const char *libname);
389 * @ingroup Elua 389 * @ingroup Elua
390 */ 390 */
391EAPI int elua_util_file_run(Elua_State *es, const char *fname); 391EAPI int elua_util_file_run(Elua_State *es, const char *fname);
392
393/**
394 * @brief Runs a string.
395 *
396 * Runs a string. Returns zero on success or non-zero value on failure.
397 *
398 * @param[in] es The Elua state.
399 * @param[in] chunk The string to run.
400 * @param[in] chname The chunk name to use for traceback/debug.
401 * @return 0 for no errors, a non-zero value for errors (-1 for NULL es).
402 *
403 * @ingroup Elua
404 */
392EAPI int elua_util_string_run(Elua_State *es, const char *chunk, 405EAPI int elua_util_string_run(Elua_State *es, const char *chunk,
393 const char *chname); 406 const char *chname);
394EAPI Eina_Bool elua_util_app_load(Elua_State *es, const char *appname); 407EAPI Eina_Bool elua_util_app_load(Elua_State *es, const char *appname);