diff options
| author | Li Jin <dragon-fly@qq.com> | 2024-10-19 00:35:11 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2024-10-19 00:35:11 +0800 |
| commit | 1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0 (patch) | |
| tree | 8bd3fbeb396fd2fce6e5b34c3ee10f4923feca72 /src/3rdParty/lua/lua.h | |
| parent | 05da3cbfa3689e6c229c41156d0dd08ab554cd77 (diff) | |
| download | yuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.tar.gz yuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.tar.bz2 yuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.zip | |
Fixed issue #174.
Diffstat (limited to 'src/3rdParty/lua/lua.h')
| -rw-r--r-- | src/3rdParty/lua/lua.h | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/src/3rdParty/lua/lua.h b/src/3rdParty/lua/lua.h index 040cc8e..f050dac 100644 --- a/src/3rdParty/lua/lua.h +++ b/src/3rdParty/lua/lua.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h $ | 2 | ** $Id: lua.h $ |
| 3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
| 4 | ** Lua.org, PUC-Rio, Brazil (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 |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| @@ -13,19 +13,20 @@ | |||
| 13 | #include <stddef.h> | 13 | #include <stddef.h> |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | #define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2023 Lua.org, PUC-Rio" | 16 | #include "luaconf.h" |
| 17 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes" | ||
| 18 | |||
| 19 | 17 | ||
| 20 | #define LUA_VERSION_MAJOR_N 5 | ||
| 21 | #define LUA_VERSION_MINOR_N 4 | ||
| 22 | #define LUA_VERSION_RELEASE_N 6 | ||
| 23 | 18 | ||
| 24 | #define LUA_VERSION_NUM (LUA_VERSION_MAJOR_N * 100 + LUA_VERSION_MINOR_N) | 19 | #define LUA_VERSION_MAJOR "5" |
| 25 | #define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + LUA_VERSION_RELEASE_N) | 20 | #define LUA_VERSION_MINOR "4" |
| 21 | #define LUA_VERSION_RELEASE "7" | ||
| 26 | 22 | ||
| 23 | #define LUA_VERSION_NUM 504 | ||
| 24 | #define LUA_VERSION_RELEASE_NUM (LUA_VERSION_NUM * 100 + 7) | ||
| 27 | 25 | ||
| 28 | #include "luaconf.h" | 26 | #define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR |
| 27 | #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE | ||
| 28 | #define LUA_COPYRIGHT LUA_RELEASE " Copyright (C) 1994-2024 Lua.org, PUC-Rio" | ||
| 29 | #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo, W. Celes" | ||
| 29 | 30 | ||
| 30 | 31 | ||
| 31 | /* mark for precompiled code ('<esc>Lua') */ | 32 | /* mark for precompiled code ('<esc>Lua') */ |
| @@ -495,19 +496,8 @@ struct lua_Debug { | |||
| 495 | /* }====================================================================== */ | 496 | /* }====================================================================== */ |
| 496 | 497 | ||
| 497 | 498 | ||
| 498 | #define LUAI_TOSTRAUX(x) #x | ||
| 499 | #define LUAI_TOSTR(x) LUAI_TOSTRAUX(x) | ||
| 500 | |||
| 501 | #define LUA_VERSION_MAJOR LUAI_TOSTR(LUA_VERSION_MAJOR_N) | ||
| 502 | #define LUA_VERSION_MINOR LUAI_TOSTR(LUA_VERSION_MINOR_N) | ||
| 503 | #define LUA_VERSION_RELEASE LUAI_TOSTR(LUA_VERSION_RELEASE_N) | ||
| 504 | |||
| 505 | #define LUA_VERSION "Lua " LUA_VERSION_MAJOR "." LUA_VERSION_MINOR | ||
| 506 | #define LUA_RELEASE LUA_VERSION "." LUA_VERSION_RELEASE | ||
| 507 | |||
| 508 | |||
| 509 | /****************************************************************************** | 499 | /****************************************************************************** |
| 510 | * Copyright (C) 1994-2023 Lua.org, PUC-Rio. | 500 | * Copyright (C) 1994-2024 Lua.org, PUC-Rio. |
| 511 | * | 501 | * |
| 512 | * Permission is hereby granted, free of charge, to any person obtaining | 502 | * Permission is hereby granted, free of charge, to any person obtaining |
| 513 | * a copy of this software and associated documentation files (the | 503 | * a copy of this software and associated documentation files (the |
