aboutsummaryrefslogtreecommitdiff
path: root/c-api
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-09-08 18:07:21 +1000
committerdaurnimator <quae@daurnimator.com>2017-09-08 18:08:54 +1000
commit690239bc52cf1f9e22af0b602dcc1fca4dda557a (patch)
tree3860f1c1ba50632598b9676c2e4e91c001191969 /c-api
parent10370263952bb68315206916d94df574991a1d5d (diff)
downloadlua-compat-5.3-690239bc52cf1f9e22af0b602dcc1fca4dda557a.tar.gz
lua-compat-5.3-690239bc52cf1f9e22af0b602dcc1fca4dda557a.tar.bz2
lua-compat-5.3-690239bc52cf1f9e22af0b602dcc1fca4dda557a.zip
Add lua_resume
Diffstat (limited to 'c-api')
-rw-r--r--c-api/compat-5.3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c-api/compat-5.3.h b/c-api/compat-5.3.h
index bee77a1..3d20d21 100644
--- a/c-api/compat-5.3.h
+++ b/c-api/compat-5.3.h
@@ -186,6 +186,9 @@ COMPAT53_API int luaL_execresult (lua_State *L, int stat);
186#define lua_pcallk(L, na, nr, err, ctx, cont) \ 186#define lua_pcallk(L, na, nr, err, ctx, cont) \
187 ((void)(ctx), (void)(cont), lua_pcall((L), (na), (nr), (err))) 187 ((void)(ctx), (void)(cont), lua_pcall((L), (na), (nr), (err)))
188 188
189#define lua_resume(L, from, nargs) \
190 ((void)(from), lua_resume((L), (nargs)))
191
189#define luaL_buffinit COMPAT53_CONCAT(COMPAT53_PREFIX, _buffinit_53) 192#define luaL_buffinit COMPAT53_CONCAT(COMPAT53_PREFIX, _buffinit_53)
190COMPAT53_API void luaL_buffinit (lua_State *L, luaL_Buffer_53 *B); 193COMPAT53_API void luaL_buffinit (lua_State *L, luaL_Buffer_53 *B);
191 194