Skip to content

Commit

Permalink
[fix] 解决ReversePInvokeWrap生成不稳定的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
walon committed Jun 27, 2023
1 parent 3d68dc4 commit 0d8b001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/ReversePInvokeWrap/Analyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public List<ABIReversePInvokeMethodInfo> BuildABIMethods(PlatformABI abi)
arm.Count += preserveCount;
}
var methods = methodsBySig.Values.ToList();
methods.Sort((a, b) => a.Method.Sig.CompareTo(b.Method.Sig));
methods.Sort((a, b) => String.CompareOrdinal(a.Method.Sig, b.Method.Sig));
return methods;
}

Expand Down

0 comments on commit 0d8b001

Please sign in to comment.