diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2015-05-20 07:25:48 +0200 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2015-05-20 07:25:48 +0200 |
commit | ba065189ae67822ac9c69cc6ba633e3e8e123ef6 (patch) | |
tree | 8f064b13129834749ae72c03c15e46ab20adadc2 /c-api/compat-5.3.h | |
parent | ae91294546c2edc60e3349e909740f15c939f1af (diff) | |
download | lua-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.h | 4 |
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) |
152 | COMPAT53_API int luaL_fileresult (lua_State *L, int stat, const char *fname); | 151 | COMPAT53_API int luaL_fileresult (lua_State *L, int stat, const char *fname); |
152 | |||
153 | #define luaL_execresult COMPAT53_CONCAT(COMPAT53_PREFIX, L_execresult) | ||
154 | COMPAT53_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) \ |