aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-07-25 12:02:41 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-07-25 12:02:41 -0300
commit85c1461422a8a97a25ee385793def9c89e70739c (patch)
tree8ba8ec0d5500067760800bba65ea7499db30adf6 /lua.h
parent5ba556d27a0114d43941335fab4968c51dd1cef5 (diff)
downloadlua-85c1461422a8a97a25ee385793def9c89e70739c.tar.gz
lua-85c1461422a8a97a25ee385793def9c89e70739c.tar.bz2
lua-85c1461422a8a97a25ee385793def9c89e70739c.zip
new macros LUA_VERSION_{MAJOR/MINOR/RELEASE}
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 87c81e75..9b3c10ef 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.270 2010/05/12 14:09:20 roberto Exp roberto $ 2** $Id: lua.h,v 1.271 2010/07/02 12:01:53 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -16,8 +16,12 @@
16#include "luaconf.h" 16#include "luaconf.h"
17 17
18 18
19#define LUA_VERSION "Lua 5.2" 19#define LUA_VERSION_MAJOR "5"
20#define LUA_RELEASE "Lua 5.2.0" 20#define LUA_VERSION_MINOR "2"
21#define LUA_VERSION_RELEASE "0"
22
23#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
24#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE
21#define LUA_VERSION_NUM 502 25#define LUA_VERSION_NUM 502
22#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2010 Lua.org, PUC-Rio" 26#define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2010 Lua.org, PUC-Rio"
23#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes" 27#define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes"