Move callback functions into the same file
[TD_C.git] / TP_13 / exo1 / lib / sort.h
index 3c499f7947b4e4835735c25345c3a4257e404652..0dce2136b88ed3cf5d386a074cbebc6b3a786e13 100644 (file)
@@ -3,6 +3,11 @@
 
 #include <stdbool.h>
 
+typedef bool(*c_criteria_cb)(int a);
+
+bool is_even(int a);
+bool is_odd(int a);
+
 typedef bool(*s_criteria_cb)(int a, int b);
 
 /* sort criteria */