diff options
author | Mike Pall <mike> | 2017-04-07 12:27:09 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-04-07 12:27:09 +0200 |
commit | f2e2a3f757629c520ebcac44ba7fb12cb07e56e2 (patch) | |
tree | 53477bf4935278c2df459a7368d06c3bb9839729 /src/lua.h | |
parent | ef23b70eb64f67c6e6606098baad3cb0ba98d1c3 (diff) | |
download | luajit-f2e2a3f757629c520ebcac44ba7fb12cb07e56e2.tar.gz luajit-f2e2a3f757629c520ebcac44ba7fb12cb07e56e2.tar.bz2 luajit-f2e2a3f757629c520ebcac44ba7fb12cb07e56e2.zip |
From Lua 5.3: Add lua_isyieldable().
Contributed by François Perrad.
Diffstat (limited to '')
-rw-r--r-- | src/lua.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -351,6 +351,9 @@ LUA_API int lua_loadx (lua_State *L, lua_Reader reader, void *dt, | |||
351 | LUA_API const lua_Number *lua_version (lua_State *L); | 351 | LUA_API const lua_Number *lua_version (lua_State *L); |
352 | LUA_API void lua_copy (lua_State *L, int fromidx, int toidx); | 352 | LUA_API void lua_copy (lua_State *L, int fromidx, int toidx); |
353 | 353 | ||
354 | /* From Lua 5.3. */ | ||
355 | LUA_API int lua_isyieldable (lua_State *L); | ||
356 | |||
354 | 357 | ||
355 | struct lua_Debug { | 358 | struct lua_Debug { |
356 | int event; | 359 | int event; |