aboutsummaryrefslogtreecommitdiff
path: root/c-api/compat-5.3.h
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2015-05-20 07:25:48 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2015-05-20 07:25:48 +0200
commitba065189ae67822ac9c69cc6ba633e3e8e123ef6 (patch)
tree8f064b13129834749ae72c03c15e46ab20adadc2 /c-api/compat-5.3.h
parentae91294546c2edc60e3349e909740f15c939f1af (diff)
downloadlua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.tar.gz
lua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.tar.bz2
lua-compat-5.3-ba065189ae67822ac9c69cc6ba633e3e8e123ef6.zip
Add luaL_execresult to C API.
Diffstat (limited to 'c-api/compat-5.3.h')
-rw-r--r--c-api/compat-5.3.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h
index dc8d3ea..cd6764c 100644
--- a/c-api/compat-5.3.h
+++ b/c-api/compat-5.3.h
@@ -45,7 +45,6 @@
45 * lua_upvaluejoin 45 * lua_upvaluejoin
46 * lua_version 46 * lua_version
47 * lua_yieldk 47 * lua_yieldk
48 * luaL_execresult
49 * luaL_loadbufferx 48 * luaL_loadbufferx
50 * luaL_loadfilex 49 * luaL_loadfilex
51 */ 50 */
@@ -150,6 +149,9 @@ COMPAT53_API void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
150 149
151#define luaL_fileresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_fileresult) 150#define luaL_fileresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_fileresult)
152COMPAT53_API int luaL_fileresult (lua_State *L, int stat, const char *fname); 151COMPAT53_API int luaL_fileresult (lua_State *L, int stat, const char *fname);
152
153#define luaL_execresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_execresult)
154COMPAT53_API int luaL_execresult (lua_State *L, int stat);
153#endif /* COMPAT53_IS_LUAJIT */ 155#endif /* COMPAT53_IS_LUAJIT */
154 156
155#define lua_callk(L, na, nr, ctx, cont) \ 157#define lua_callk(L, na, nr, ctx, cont) \