From ec5f2ef05e90a699ee9bdf129ec16befad91fb4c Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 23 Apr 2024 11:42:22 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E8=AE=A1=E7=AE=97str?= =?UTF-8?q?uct=E7=AD=89=E4=BB=B7=E6=80=A7=E6=97=B6=EF=BC=8C=E5=B0=86struct?= =?UTF-8?q?=E5=B9=B3=E9=93=BA=E5=B1=95=E5=BC=80=E8=AE=A1=E7=AE=97=E7=AD=89?= =?UTF-8?q?=E4=BB=B7=EF=BC=8C=E5=9C=A8=E6=9F=90=E4=BA=9B=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E5=B9=B6=E4=B8=8D=E9=80=82=E7=94=A8=E7=9A=84bug=E3=80=82?= =?UTF-8?q?=E4=BE=8B=E5=A6=82=20struct=20A=20{=20uint8=5Ft=20x;=20A2=20y;?= =?UTF-8?q?=20}=20struct=20A2=20{=20uint8=5Ft=20x;=20int32=5Ft=20y;};=20?= =?UTF-8?q?=E8=B7=9F=20struct=20B=20{uint8=5Ft=20x;=20uint8=5Ft=20y;=20int?= =?UTF-8?q?32=5Ft=20z;}=20=E5=9C=A8x86=5F64=20abi=E4=B8=8B=E5=B9=B6?= =?UTF-8?q?=E4=B8=8D=E7=AD=89=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/MethodBridge/Generator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/MethodBridge/Generator.cs b/Editor/MethodBridge/Generator.cs index bb9f56e..39451ad 100644 --- a/Editor/MethodBridge/Generator.cs +++ b/Editor/MethodBridge/Generator.cs @@ -288,7 +288,7 @@ namespace HybridCLR.Editor.MethodBridge var sigBuf = new StringBuilder(); foreach (var field in ati.fields) { - sigBuf.Append(GetOrCalculateTypeInfoSignature(ToIsomorphicType(field))); + sigBuf.Append("{" + GetOrCalculateTypeInfoSignature(ToIsomorphicType(field)) + "}"); } return ati.signature = sigBuf.ToString(); }