aboutsummaryrefslogtreecommitdiff
path: root/sort.h
blob: 651406ddec05fe96a3349208b995a57353c124ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SORT_H
#define SORT_H

#include <FreeImage.h>

typedef struct {
    uint8_t color[3];
    uint16_t val;
} pixelm;

void quicksort(pixelm *arr, unsigned lo, unsigned hi);

#endif