mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
formatting/coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35574 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b9b63476ef
commit
8ec0deff44
8 changed files with 871 additions and 771 deletions
|
@ -797,9 +797,10 @@ static Class GSInlineArrayClass;
|
|||
{
|
||||
_version++;
|
||||
if ((1 < _count) && (NULL != compare))
|
||||
{
|
||||
GSSortUnstable(_contents_array, NSMakeRange(0,_count), (id)compare, GSComparisonTypeFunction, context);
|
||||
}
|
||||
{
|
||||
GSSortUnstable(_contents_array, NSMakeRange(0,_count), (id)compare,
|
||||
GSComparisonTypeFunction, context);
|
||||
}
|
||||
_version++;
|
||||
}
|
||||
|
||||
|
@ -808,34 +809,34 @@ static Class GSInlineArrayClass;
|
|||
{
|
||||
_version++;
|
||||
if ((1 < _count) && (NULL != comparator))
|
||||
{
|
||||
if (options & NSSortStable)
|
||||
{
|
||||
if (options & NSSortConcurrent)
|
||||
{
|
||||
GSSortStableConcurrent(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
GSSortStable(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (options & NSSortConcurrent)
|
||||
{
|
||||
GSSortUnstableConcurrent(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
if (options & NSSortStable)
|
||||
{
|
||||
if (options & NSSortConcurrent)
|
||||
{
|
||||
GSSortStableConcurrent(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
GSSortStable(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
GSSortUnstable(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
{
|
||||
if (options & NSSortConcurrent)
|
||||
{
|
||||
GSSortUnstableConcurrent(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
GSSortUnstable(_contents_array, NSMakeRange(0,_count),
|
||||
(id)comparator, GSComparisonTypeComparatorBlock, NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
_version++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue