Cleanups.
[TD_C.git] / exo1 / lib / array.h
1 #ifndef ARRAY_H
2 #define ARRAY_H
3
4 #include "sort.h"
5
6 int create_tab(int tab[], unsigned tab_size);
7 void free_tab(int tab[]);
8 int concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
9 int resize_tab(int tab[], unsigned tab_size);
10 int count_tab_element(int tab[], unsigned tab_size, int element);
11 void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);
12
13 #endif /* ARRAY_H */