Skip to content

Commit

Permalink
LuaMacro: fix winapi.lua for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Nov 16, 2024
1 parent 00f3216 commit dfef86f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/luamacro/_globalinfo.lua
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 4 additions & 0 deletions plugins/luamacro/changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/luamacro/luafar/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 859
#define PLUGIN_BUILD 860
2 changes: 1 addition & 1 deletion plugins/luamacro/winapi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dfef86f

Please sign in to comment.