diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 13:17:46 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-07-11 13:17:46 -0300 |
| commit | 84058b15068a382e66f4eeb4e29a2dbf1704fa8b (patch) | |
| tree | 4c1c01351a2375df32b03fd57f730a9b3b83bf3f | |
| parent | 4d5de1c1fb2decb39d74dfb092ca5643ce47176f (diff) | |
| download | lua-84058b15068a382e66f4eeb4e29a2dbf1704fa8b.tar.gz lua-84058b15068a382e66f4eeb4e29a2dbf1704fa8b.tar.bz2 lua-84058b15068a382e66f4eeb4e29a2dbf1704fa8b.zip | |
Added definition for LUA_VERSION_RELEASE_NUM
LUA_VERSION_RELEASE_NUM is set to the release number of the Lua
interpreter (e.g., 5.4.0 becomes the integer 50400).
| -rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -18,9 +18,11 @@ | |||
| 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_NUM 504 | ||
| 22 | #define LUA_VERSION_RELEASE "0" | 21 | #define LUA_VERSION_RELEASE "0" |
| 23 | 22 | ||
| 23 | #define LUA_VERSION_NUM 504 | ||
| 24 | #define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 0) | ||
| 25 | |||
| 24 | #define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR | 26 | #define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR |
| 25 | #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE | 27 | #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE |
| 26 | #define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2018 Lua.org, PUC-Rio" | 28 | #define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2018 Lua.org, PUC-Rio" |
