From Lua 5.3: Add lua_isyieldable().

Contributed by François Perrad.
This commit is contained in:
Mike Pall
2017-04-07 12:27:09 +02:00
parent ef23b70eb6
commit f2e2a3f757
2 changed files with 8 additions and 0 deletions

View File

@@ -351,6 +351,9 @@ LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt,
LUA_API const lua_Number *lua_version (lua_State *L);
LUA_API void lua_copy (lua_State *L, int fromidx, int toidx);
/* From Lua 5.3. */
LUA_API int lua_isyieldable (lua_State *L);
struct lua_Debug {
int event;