Updated project to use eclipse build tools and make system.
[C-Data-Structures.git] / lib_sort.h
blob580c57fdccf904d9661d971f5c61626d38b8840d
1 #ifndef LIB_SORT_H_
2 #define LIB_SORT_H_
4 typedef struct {
5 int left;
6 int right;
7 } Sort_Data;
9 int sort_get_smallest(int[], int, int);
11 void sort_swap(int[], int, int);
13 void sort_selection(int[] , int, int);
15 void sort_insertion(int[], int, int);
17 void sort_heap(int[], int);
19 void sort_quick(int[], int, int);
21 void sort_quick_norecurse(int[], int, int);
23 int sort_partition(int[], int, int);
25 void sort_shift_down(int, int[], int, int);
27 Sort_Data *sort_data_new(int, int);
29 #endif /* LIB_SORT_H_ */