mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 12:17:14 +03:00
Renamed function
This commit is contained in:
parent
6764650e2a
commit
a69430047b
|
@ -759,7 +759,7 @@ typedef struct {
|
|||
} DistanceWithIndex;
|
||||
|
||||
static int
|
||||
_sort_ulong_ptr_keys(const void *a, const void *b) {
|
||||
_distance_index_cmp(const void *a, const void *b) {
|
||||
DistanceWithIndex *A = (DistanceWithIndex *)a;
|
||||
DistanceWithIndex *B = (DistanceWithIndex *)b;
|
||||
if (*A->distance == *B->distance) {
|
||||
|
@ -829,7 +829,7 @@ build_distance_tables(
|
|||
dwi,
|
||||
nEntries,
|
||||
sizeof(DistanceWithIndex),
|
||||
_sort_ulong_ptr_keys);
|
||||
_distance_index_cmp);
|
||||
for (j = 0; j < nEntries; j++) {
|
||||
avgDistSortKey[i * nEntries + j] = dwi[j].distance;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user