Browse Source

update LuaJIT to luajit/luajit@68354f4

Sasha Szpakowski 1 month ago
parent
commit
36f3aacb98

+ 11 - 7
iOS/libraries/Lua.xcframework/Info.plist

@@ -5,35 +5,39 @@
 	<key>AvailableLibraries</key>
 	<key>AvailableLibraries</key>
 	<array>
 	<array>
 		<dict>
 		<dict>
+			<key>BinaryPath</key>
+			<string>libluajit_device.a</string>
 			<key>HeadersPath</key>
 			<key>HeadersPath</key>
 			<string>Headers</string>
 			<string>Headers</string>
 			<key>LibraryIdentifier</key>
 			<key>LibraryIdentifier</key>
-			<string>ios-arm64_x86_64-simulator</string>
+			<string>ios-arm64</string>
 			<key>LibraryPath</key>
 			<key>LibraryPath</key>
-			<string>libluajit_sim.a</string>
+			<string>libluajit_device.a</string>
 			<key>SupportedArchitectures</key>
 			<key>SupportedArchitectures</key>
 			<array>
 			<array>
 				<string>arm64</string>
 				<string>arm64</string>
-				<string>x86_64</string>
 			</array>
 			</array>
 			<key>SupportedPlatform</key>
 			<key>SupportedPlatform</key>
 			<string>ios</string>
 			<string>ios</string>
-			<key>SupportedPlatformVariant</key>
-			<string>simulator</string>
 		</dict>
 		</dict>
 		<dict>
 		<dict>
+			<key>BinaryPath</key>
+			<string>libluajit_sim.a</string>
 			<key>HeadersPath</key>
 			<key>HeadersPath</key>
 			<string>Headers</string>
 			<string>Headers</string>
 			<key>LibraryIdentifier</key>
 			<key>LibraryIdentifier</key>
-			<string>ios-arm64</string>
+			<string>ios-arm64_x86_64-simulator</string>
 			<key>LibraryPath</key>
 			<key>LibraryPath</key>
-			<string>libluajit_device.a</string>
+			<string>libluajit_sim.a</string>
 			<key>SupportedArchitectures</key>
 			<key>SupportedArchitectures</key>
 			<array>
 			<array>
 				<string>arm64</string>
 				<string>arm64</string>
+				<string>x86_64</string>
 			</array>
 			</array>
 			<key>SupportedPlatform</key>
 			<key>SupportedPlatform</key>
 			<string>ios</string>
 			<string>ios</string>
+			<key>SupportedPlatformVariant</key>
+			<string>simulator</string>
 		</dict>
 		</dict>
 	</array>
 	</array>
 	<key>CFBundlePackageType</key>
 	<key>CFBundlePackageType</key>

+ 6 - 4
iOS/libraries/Lua.xcframework/ios-arm64/Headers/luaconf.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Configuration header.
 ** Configuration header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef luaconf_h
 #ifndef luaconf_h
@@ -9,7 +9,6 @@
 #ifndef WINVER
 #ifndef WINVER
 #define WINVER 0x0501
 #define WINVER 0x0501
 #endif
 #endif
-#include <limits.h>
 #include <stddef.h>
 #include <stddef.h>
 
 
 /* Default path for loading Lua and C modules with require(). */
 /* Default path for loading Lua and C modules with require(). */
@@ -37,7 +36,6 @@
 #endif
 #endif
 #define LUA_LROOT	"/usr/local"
 #define LUA_LROOT	"/usr/local"
 #define LUA_LUADIR	"/lua/5.1/"
 #define LUA_LUADIR	"/lua/5.1/"
-#define LUA_LJDIR	"/luajit-2.1/"
 
 
 #ifdef LUA_ROOT
 #ifdef LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
@@ -51,7 +49,11 @@
 #define LUA_RCPATH
 #define LUA_RCPATH
 #endif
 #endif
 
 
-#define LUA_JPATH	";" LUA_JROOT "/share" LUA_LJDIR "?.lua"
+#ifndef LUA_LJDIR
+#define LUA_LJDIR	LUA_JROOT "/share/luajit-2.1"
+#endif
+
+#define LUA_JPATH	";" LUA_LJDIR "/?.lua"
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"

+ 4 - 4
iOS/libraries/Lua.xcframework/ios-arm64/Headers/luajit.h

@@ -1,7 +1,7 @@
 /*
 /*
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 **
 **
-** Copyright (C) 2005-2023 Mike Pall. All rights reserved.
+** Copyright (C) 2005-2025 Mike Pall. All rights reserved.
 **
 **
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** a copy of this software and associated documentation files (the
 ** a copy of this software and associated documentation files (the
@@ -30,10 +30,10 @@
 
 
 #include "lua.h"
 #include "lua.h"
 
 
-#define LUAJIT_VERSION		"LuaJIT 2.1.1700008891"
+#define LUAJIT_VERSION		"LuaJIT 2.1.1762386122"
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
-#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1700008891
-#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2023 Mike Pall"
+#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1762386122
+#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2025 Mike Pall"
 #define LUAJIT_URL		"https://luajit.org/"
 #define LUAJIT_URL		"https://luajit.org/"
 
 
 /* Modes for luaJIT_setmode. */
 /* Modes for luaJIT_setmode. */

+ 1 - 1
iOS/libraries/Lua.xcframework/ios-arm64/Headers/lualib.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Standard library header.
 ** Standard library header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef _LUALIB_H
 #ifndef _LUALIB_H

BIN
iOS/libraries/Lua.xcframework/ios-arm64/libluajit_device.a


+ 6 - 4
iOS/libraries/Lua.xcframework/ios-arm64_x86_64-simulator/Headers/luaconf.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Configuration header.
 ** Configuration header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef luaconf_h
 #ifndef luaconf_h
@@ -9,7 +9,6 @@
 #ifndef WINVER
 #ifndef WINVER
 #define WINVER 0x0501
 #define WINVER 0x0501
 #endif
 #endif
-#include <limits.h>
 #include <stddef.h>
 #include <stddef.h>
 
 
 /* Default path for loading Lua and C modules with require(). */
 /* Default path for loading Lua and C modules with require(). */
@@ -37,7 +36,6 @@
 #endif
 #endif
 #define LUA_LROOT	"/usr/local"
 #define LUA_LROOT	"/usr/local"
 #define LUA_LUADIR	"/lua/5.1/"
 #define LUA_LUADIR	"/lua/5.1/"
-#define LUA_LJDIR	"/luajit-2.1/"
 
 
 #ifdef LUA_ROOT
 #ifdef LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
@@ -51,7 +49,11 @@
 #define LUA_RCPATH
 #define LUA_RCPATH
 #endif
 #endif
 
 
-#define LUA_JPATH	";" LUA_JROOT "/share" LUA_LJDIR "?.lua"
+#ifndef LUA_LJDIR
+#define LUA_LJDIR	LUA_JROOT "/share/luajit-2.1"
+#endif
+
+#define LUA_JPATH	";" LUA_LJDIR "/?.lua"
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"

+ 4 - 4
iOS/libraries/Lua.xcframework/ios-arm64_x86_64-simulator/Headers/luajit.h

@@ -1,7 +1,7 @@
 /*
 /*
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 **
 **
-** Copyright (C) 2005-2023 Mike Pall. All rights reserved.
+** Copyright (C) 2005-2025 Mike Pall. All rights reserved.
 **
 **
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** a copy of this software and associated documentation files (the
 ** a copy of this software and associated documentation files (the
@@ -30,10 +30,10 @@
 
 
 #include "lua.h"
 #include "lua.h"
 
 
-#define LUAJIT_VERSION		"LuaJIT 2.1.1700008891"
+#define LUAJIT_VERSION		"LuaJIT 2.1.1762386122"
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
-#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1700008891
-#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2023 Mike Pall"
+#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1762386122
+#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2025 Mike Pall"
 #define LUAJIT_URL		"https://luajit.org/"
 #define LUAJIT_URL		"https://luajit.org/"
 
 
 /* Modes for luaJIT_setmode. */
 /* Modes for luaJIT_setmode. */

+ 1 - 1
iOS/libraries/Lua.xcframework/ios-arm64_x86_64-simulator/Headers/lualib.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Standard library header.
 ** Standard library header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef _LUALIB_H
 #ifndef _LUALIB_H

BIN
iOS/libraries/Lua.xcframework/ios-arm64_x86_64-simulator/libluajit_sim.a


+ 6 - 4
macOS/Frameworks/Lua.framework/Versions/A/Headers/luaconf.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Configuration header.
 ** Configuration header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef luaconf_h
 #ifndef luaconf_h
@@ -9,7 +9,6 @@
 #ifndef WINVER
 #ifndef WINVER
 #define WINVER 0x0501
 #define WINVER 0x0501
 #endif
 #endif
-#include <limits.h>
 #include <stddef.h>
 #include <stddef.h>
 
 
 /* Default path for loading Lua and C modules with require(). */
 /* Default path for loading Lua and C modules with require(). */
@@ -37,7 +36,6 @@
 #endif
 #endif
 #define LUA_LROOT	"/usr/local"
 #define LUA_LROOT	"/usr/local"
 #define LUA_LUADIR	"/lua/5.1/"
 #define LUA_LUADIR	"/lua/5.1/"
-#define LUA_LJDIR	"/luajit-2.1/"
 
 
 #ifdef LUA_ROOT
 #ifdef LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
 #define LUA_JROOT	LUA_ROOT
@@ -51,7 +49,11 @@
 #define LUA_RCPATH
 #define LUA_RCPATH
 #endif
 #endif
 
 
-#define LUA_JPATH	";" LUA_JROOT "/share" LUA_LJDIR "?.lua"
+#ifndef LUA_LJDIR
+#define LUA_LJDIR	LUA_JROOT "/share/luajit-2.1"
+#endif
+
+#define LUA_JPATH	";" LUA_LJDIR "/?.lua"
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LLDIR	LUA_LROOT "/share" LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LCDIR	LUA_LROOT "/" LUA_LMULTILIB LUA_LUADIR
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"
 #define LUA_LLPATH	";" LUA_LLDIR "?.lua;" LUA_LLDIR "?/init.lua"

+ 4 - 4
macOS/Frameworks/Lua.framework/Versions/A/Headers/luajit.h

@@ -1,7 +1,7 @@
 /*
 /*
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/
 **
 **
-** Copyright (C) 2005-2023 Mike Pall. All rights reserved.
+** Copyright (C) 2005-2025 Mike Pall. All rights reserved.
 **
 **
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** Permission is hereby granted, free of charge, to any person obtaining
 ** a copy of this software and associated documentation files (the
 ** a copy of this software and associated documentation files (the
@@ -30,10 +30,10 @@
 
 
 #include "lua.h"
 #include "lua.h"
 
 
-#define LUAJIT_VERSION		"LuaJIT 2.1.1700008891"
+#define LUAJIT_VERSION		"LuaJIT 2.1.1762386122"
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
 #define LUAJIT_VERSION_NUM	20199  /* Deprecated. */
-#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1700008891
-#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2023 Mike Pall"
+#define LUAJIT_VERSION_SYM	luaJIT_version_2_1_1762386122
+#define LUAJIT_COPYRIGHT	"Copyright (C) 2005-2025 Mike Pall"
 #define LUAJIT_URL		"https://luajit.org/"
 #define LUAJIT_URL		"https://luajit.org/"
 
 
 /* Modes for luaJIT_setmode. */
 /* Modes for luaJIT_setmode. */

+ 1 - 1
macOS/Frameworks/Lua.framework/Versions/A/Headers/lualib.h

@@ -1,6 +1,6 @@
 /*
 /*
 ** Standard library header.
 ** Standard library header.
-** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
 */
 */
 
 
 #ifndef _LUALIB_H
 #ifndef _LUALIB_H

BIN
macOS/Frameworks/Lua.framework/Versions/A/Lua