aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-11 13:17:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-07-11 13:17:46 -0300
commit84058b15068a382e66f4eeb4e29a2dbf1704fa8b (patch)
tree4c1c01351a2375df32b03fd57f730a9b3b83bf3f /lua.h
parent4d5de1c1fb2decb39d74dfb092ca5643ce47176f (diff)
downloadlua-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).
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 12d9e2ec..03d92c0b 100644
--- a/lua.h
+++ b/lua.h
@@ -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"