MCPcopy Create free account
hub / github.com/KiCad/kicad-source-mirror / SortVariantNames

Function SortVariantNames

common/string_utils.cpp:1862–1871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1860
1861
1862int SortVariantNames( const wxString& aLhs, const wxString& aRhs )
1863{
1864 if( ( aLhs == defaultVariantName ) && ( aRhs != defaultVariantName ) )
1865 return -1;
1866
1867 if( ( aLhs != defaultVariantName ) && ( aRhs == defaultVariantName ) )
1868 return 1;
1869
1870 return StrNumCmp( aLhs, aRhs );
1871}
1872
1873
1874std::vector<LOAD_MESSAGE> ExtractLibraryLoadErrors( const wxString& aErrorString, int aSeverity )

Callers

nothing calls this directly

Calls 1

StrNumCmpFunction · 0.85

Tested by

no test coverage detected