mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 03:51:03 +00:00
* Main.cs: Sort functions by extension first, then by name.
This commit is contained in:
parent
34613184b8
commit
794a742fcb
|
@ -123,7 +123,9 @@ namespace CHeaderToXML
|
|||
{
|
||||
new XElement("signatures",
|
||||
entries.Values.OrderBy(s => s.Attribute("name").Value), // only enums
|
||||
sigs.SelectMany(s => s).Where(s => s.Name.LocalName == "function").OrderBy(s => s.Attribute("name").Value) // only functions
|
||||
sigs.SelectMany(s => s).Where(s => s.Name.LocalName == "function") // only functions
|
||||
.OrderBy(s => s.Attribute("extension").Value)
|
||||
.ThenBy(s => s.Attribute("name").Value)
|
||||
).WriteTo(writer);
|
||||
writer.Flush();
|
||||
writer.Close();
|
||||
|
|
Loading…
Reference in a new issue