From dfef86f9ab5f235d40dddadcf5c2d796dc685143 Mon Sep 17 00:00:00 2001 From: Shmuel Zeigerman Date: Sat, 16 Nov 2024 12:41:59 +0200 Subject: [PATCH] LuaMacro: fix winapi.lua for arm64 --- plugins/luamacro/_globalinfo.lua | 2 +- plugins/luamacro/changelog | 4 ++++ plugins/luamacro/luafar/version.h | 2 +- plugins/luamacro/winapi.lua | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/luamacro/_globalinfo.lua b/plugins/luamacro/_globalinfo.lua index 1e68092bd2..3dc50ffcff 100644 --- a/plugins/luamacro/_globalinfo.lua +++ b/plugins/luamacro/_globalinfo.lua @@ -1,6 +1,6 @@ function export.GetGlobalInfo() return { - Version = { 3, 0, 0, 859 }, + Version = { 3, 0, 0, 860 }, MinFarVersion = { 3, 0, 0, 6380 }, Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"), Title = "LuaMacro", diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog index 43e220cd9f..6724167d5e 100644 --- a/plugins/luamacro/changelog +++ b/plugins/luamacro/changelog @@ -1,3 +1,7 @@ +shmuel 2024-11-16 12:39:17+02:00 - build 860 + +1. Fix winapi.lua for arm64 + shmuel 2024-11-11 17:26:22+02:00 - build 859 1. LuaFAR: allow another API for actl.Synchro diff --git a/plugins/luamacro/luafar/version.h b/plugins/luamacro/luafar/version.h index 99216a6bc9..1726e60ece 100644 --- a/plugins/luamacro/luafar/version.h +++ b/plugins/luamacro/luafar/version.h @@ -1,3 +1,3 @@ #include -#define PLUGIN_BUILD 859 +#define PLUGIN_BUILD 860 diff --git a/plugins/luamacro/winapi.lua b/plugins/luamacro/winapi.lua index dfe4fdf456..0c85e96381 100644 --- a/plugins/luamacro/winapi.lua +++ b/plugins/luamacro/winapi.lua @@ -3,7 +3,7 @@ local ffi = require "ffi" -if jit.arch == "x64" then +if jit.arch == "x64" or jit.arch == "arm64" then ffi.cdef[[ typedef __int64 INT_PTR; typedef unsigned __int64 UINT_PTR;