Skip to content

Commit

Permalink
ea39042e13645f63713425c05cc9ee4cfdcf0a40
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan authored and well-in-that-case committed Jul 17, 2023
1 parent 596fc12 commit 3fdb4f7
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions src/lua.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
** $Id: lua.h $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** Lua.org, PUC-Rio, Brazil (www.lua.org)
** See Copyright Notice at the end of this file
*/

Expand All @@ -11,22 +11,21 @@
#include <string>


#include "luaconf.h"
#define PLUTO_VERSION "Pluto 0.7.0"

#define LUA_COPYRIGHT PLUTO_VERSION " Copyright (C) 2022-2023 Ryan Starrett, based on " LUA_RELEASE " Copyright (C) 1994-2023 Lua.org, PUC-Rio"
#define LUA_AUTHORS "R. Starrett, R. Ierusalimschy, L. H. de Figueiredo, W. Celes"

#define PLUTO_VERSION "Pluto 0.7.0"

#define LUA_VERSION_MAJOR "5"
#define LUA_VERSION_MINOR "4"
#define LUA_VERSION_RELEASE "6"
#define LUA_VERSION_MAJOR_N 5
#define LUA_VERSION_MINOR_N 4
#define LUA_VERSION_RELEASE_N 6

#define LUA_VERSION_NUM 504
#define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 6)
#define LUA_VERSION_NUM (LUA_VERSION_MAJOR_N * 100 + LUA_VERSION_MINOR_N)
#define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + LUA_VERSION_RELEASE_N)

#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE
#define LUA_COPYRIGHT PLUTO_VERSION " Copyright (C) 2022-2023 Ryan Starrett, based on " LUA_RELEASE " Copyright (C) 1994-2023 Lua.org, PUC-Rio"
#define LUA_AUTHORS "R. Starrett, R. Ierusalimschy, L. H. de Figueiredo, W. Celes"

#include "luaconf.h"


/* mark for precompiled code ('<esc>Lua') */
Expand Down Expand Up @@ -515,6 +514,17 @@ struct lua_Debug {
/* }====================================================================== */


#define LUAI_TOSTRAUX(x) #x
#define LUAI_TOSTR(x) LUAI_TOSTRAUX(x)

#define LUA_VERSION_MAJOR LUAI_TOSTR(LUA_VERSION_MAJOR_N)
#define LUA_VERSION_MINOR LUAI_TOSTR(LUA_VERSION_MINOR_N)
#define LUA_VERSION_RELEASE LUAI_TOSTR(LUA_VERSION_RELEASE_N)

#define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR
#define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE


/******************************************************************************
* Copyright (C) 1994-2023 Lua.org, PUC-Rio.
*
Expand Down

0 comments on commit 3fdb4f7

Please sign in to comment.