diff options
| author | Philipp Janda <siffiejoe@gmx.net> | 2017-09-09 01:13:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-09 01:13:47 +0200 |
| commit | 08212947bb97a5fffa2e56ddd6313710758896d0 (patch) | |
| tree | 3860f1c1ba50632598b9676c2e4e91c001191969 /c-api | |
| parent | 10370263952bb68315206916d94df574991a1d5d (diff) | |
| parent | 690239bc52cf1f9e22af0b602dcc1fca4dda557a (diff) | |
| download | lua-compat-5.3-08212947bb97a5fffa2e56ddd6313710758896d0.tar.gz lua-compat-5.3-08212947bb97a5fffa2e56ddd6313710758896d0.tar.bz2 lua-compat-5.3-08212947bb97a5fffa2e56ddd6313710758896d0.zip | |
Merge pull request #26 from daurnimator/lua_resume
Add lua_resume
Diffstat (limited to 'c-api')
| -rw-r--r-- | c-api/compat-5.3.h | 3 |
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) |
| 190 | COMPAT53_API void luaL_buffinit (lua_State *L, luaL_Buffer_53 *B); | 193 | COMPAT53_API void luaL_buffinit (lua_State *L, luaL_Buffer_53 *B); |
| 191 | 194 | ||
