TP 13 exo1: Implement more asked features and test them
[TD_C.git] / TP_13 / exo1 / lib / array.h
CommitLineData
fac749d5
JB
1#ifndef ARRAY_H
2#define ARRAY_H
3
884e9557
JB
4#include "sort.h"
5
34f864c6 6int* create_tab(int tab[], unsigned tab_size);
e4001676 7void free_tab(int tab[]);
34f864c6
JB
8int* concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
9int* resize_tab(int tab[], unsigned tab_size);
e4001676
JB
10int count_tab_element(int tab[], unsigned tab_size, int element);
11void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);
33b9c646 12
fac749d5 13#endif /* ARRAY_H */