aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-02 16:41:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-02 16:41:43 -0300
commit6443185167c77adcc8552a3fee7edab7895db1a9 (patch)
tree20add1421687313b7dcb4b9481771ed60d21d3c5 /lua.h
parente15f1f2bb7a38a3c94519294d031e48508d65006 (diff)
downloadlua-5.4.6.tar.gz
lua-5.4.6.tar.bz2
lua-5.4.6.zip
"Emergency" new version 5.4.6v5.4.6
'lua_resetthread' is back to its original signature, to avoid incompatibilities in the ABI between releases of the same version. New function 'lua_closethread' added with the "correct" signature.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 01927c6d..fd16cf80 100644
--- a/lua.h
+++ b/lua.h
@@ -18,10 +18,10 @@
18 18
19#define LUA_VERSION_MAJOR "5" 19#define LUA_VERSION_MAJOR "5"
20#define LUA_VERSION_MINOR "4" 20#define LUA_VERSION_MINOR "4"
21#define LUA_VERSION_RELEASE "5" 21#define LUA_VERSION_RELEASE "6"
22 22
23#define LUA_VERSION_NUM 504 23#define LUA_VERSION_NUM 504
24#define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 5) 24#define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 6)
25 25
26#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR 26#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
27#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE 27#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE
@@ -163,7 +163,8 @@ extern const char lua_ident[];
163LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); 163LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
164LUA_API void (lua_close) (lua_State *L); 164LUA_API void (lua_close) (lua_State *L);
165LUA_API lua_State *(lua_newthread) (lua_State *L); 165LUA_API lua_State *(lua_newthread) (lua_State *L);
166LUA_API int (lua_resetthread) (lua_State *L, lua_State *from); 166LUA_API int (lua_closethread) (lua_State *L, lua_State *from);
167LUA_API int (lua_resetthread) (lua_State *L); /* Deprecated! */
167 168
168LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 169LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
169 170