diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-02 16:41:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-02 16:41:43 -0300 |
| commit | 6443185167c77adcc8552a3fee7edab7895db1a9 (patch) | |
| tree | 20add1421687313b7dcb4b9481771ed60d21d3c5 /lua.h | |
| parent | e15f1f2bb7a38a3c94519294d031e48508d65006 (diff) | |
| download | lua-6443185167c77adcc8552a3fee7edab7895db1a9.tar.gz lua-6443185167c77adcc8552a3fee7edab7895db1a9.tar.bz2 lua-6443185167c77adcc8552a3fee7edab7895db1a9.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.h | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -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[]; | |||
| 163 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); | 163 | LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud); |
| 164 | LUA_API void (lua_close) (lua_State *L); | 164 | LUA_API void (lua_close) (lua_State *L); |
| 165 | LUA_API lua_State *(lua_newthread) (lua_State *L); | 165 | LUA_API lua_State *(lua_newthread) (lua_State *L); |
| 166 | LUA_API int (lua_resetthread) (lua_State *L, lua_State *from); | 166 | LUA_API int (lua_closethread) (lua_State *L, lua_State *from); |
| 167 | LUA_API int (lua_resetthread) (lua_State *L); /* Deprecated! */ | ||
| 167 | 168 | ||
| 168 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); | 169 | LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); |
| 169 | 170 | ||
