TP 13 exo1: Implement all the required features.
[TD_C.git] / TP_13 / exo1 / lib / array.h
index 3bc6573f4af22f8ec7b758027a6d32350cd5f542..efdb488bc9c0b9a1e7e97162c42535f55e4e2aed 100644 (file)
@@ -1,10 +1,12 @@
 #ifndef ARRAY_H
 #define ARRAY_H
 
-int create_tab(int tab[], unsigned tab_size);
+#include "sort.h"
+
+int* create_tab(int tab[], unsigned tab_size);
 void free_tab(int tab[]);
-int concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2, int tab_dest[]);
-int resize_tab(int tab[], unsigned tab_size);
+int* concat_tab(int tab1[], unsigned tab_size1, int tab2[], unsigned tab_size2);
+int* resize_tab(int tab[], unsigned tab_size);
 int count_tab_element(int tab[], unsigned tab_size, int element);
 void sort_tab(int tab[], unsigned tab_size, criteria_cb criteria);