TP 13 exo1: Add more library functions
[TD_C.git] / TP_13 / exo1 / lib / array.h
CommitLineData
fac749d5
JB
1#ifndef ARRAY_H
2#define ARRAY_H
3
e4001676
JB
4int create_tab(int tab[], unsigned tab_size);
5void free_tab(int tab[]);
6int concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
7int resize_tab(int tab[], unsigned tab_size);
8int count_tab_element(int tab[], unsigned tab_size, int element);
9void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);
33b9c646 10
fac749d5 11#endif /* ARRAY_H */