1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Win32 interface abi fix

This commit is contained in:
Brian Fiete 2020-09-14 12:56:52 -07:00
parent 11b9463fcd
commit 82fed8ea6f

View file

@ -305,6 +305,10 @@ namespace System.Reflection
}
bool splatThis = thisType.IsSplattable && !mMethodData.mFlags.HasFlag(.Mutating);
#if BF_PLATFORM_WINDOWS && BF_32_BIT
if ((mTypeInstance.IsInterface) && (splatThis))
abi = .MS_CDecl;
#endif
AddArg!::(-1, ref target, &target.[Friend]mData, thisType, splatThis);
}