Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
dead code --
authordegomme <augustin.degomme@unibas.ch>
Tue, 5 Jul 2016 12:49:08 +0000 (14:49 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 5 Jul 2016 16:33:46 +0000 (18:33 +0200)
examples/msg/app-chainsend/iterator.h

index 5d3d06d..c86aff4 100644 (file)
@@ -32,15 +32,4 @@ xbt_dynar_t forward_indices_list(int size);
 xbt_dynar_t reverse_indices_list(int size);
 xbt_dynar_t random_indices_list(int size);
 
-/* Shuffle */
-/**************************************/
-void xbt_dynar_shuffle_in_place(xbt_dynar_t indices_list);
-
-#define xbt_dynar_swap_elements(d, type, i, j) \
-  type tmp; \
-  tmp = xbt_dynar_get_as(indices_list, (unsigned int)j, type); \
-  xbt_dynar_set_as(indices_list, (unsigned int)j, type, \
-    xbt_dynar_get_as(indices_list, (unsigned int)i, type)); \
-  xbt_dynar_set_as(indices_list, (unsigned int)i, type, tmp);
-
 #endif /* ITERATOR_H */