зеркало из https://github.com/mozilla/gecko-dev.git
Not part of the build.
Alphabetically sort the symbols/names to make it a bit more readable.
This commit is contained in:
Родитель
b45c62b0be
Коммит
7f0b762305
|
@ -212,6 +212,14 @@ static int moduleCompare(const void* in1, const void* in2)
|
|||
{
|
||||
retval = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
retval = strcmp(one->mModule, two->mModule);
|
||||
if(0 > oneSize && 0 > twoSize)
|
||||
{
|
||||
retval *= -1;
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
@ -235,6 +243,14 @@ static int segmentCompare(const void* in1, const void* in2)
|
|||
{
|
||||
retval = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
retval = strcmp(one->mSegment, two->mSegment);
|
||||
if(0 > one->mSize && 0 > two->mSize)
|
||||
{
|
||||
retval *= -1;
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
@ -258,6 +274,14 @@ static int objectCompare(const void* in1, const void* in2)
|
|||
{
|
||||
retval = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
retval = strcmp(one->mObject, two->mObject);
|
||||
if(0 > one->mSize && 0 > two->mSize)
|
||||
{
|
||||
retval *= -1;
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
@ -281,6 +305,14 @@ static int symbolCompare(const void* in1, const void* in2)
|
|||
{
|
||||
retval = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
retval = strcmp(one->mSymbol, two->mSymbol);
|
||||
if(0 > one->mSize && 0 > two->mSize)
|
||||
{
|
||||
retval *= -1;
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче