Commit | Line | Data |
---|---|---|
fac749d5 JB |
1 | #ifndef ARRAY_H |
2 | #define ARRAY_H | |
3 | ||
884e9557 JB |
4 | #include "sort.h" |
5 | ||
e4001676 JB |
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); | |
33b9c646 | 12 | |
fac749d5 | 13 | #endif /* ARRAY_H */ |