diff options
Diffstat (limited to 'sort.h')
-rw-r--r-- | sort.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,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 |