- void_f_pvoid_t * const free_f);
-
-void xbt_matrix_free(xbt_matrix_t matrix);
-void xbt_matrix_free_voidp(void *d);
-
-void xbt_matrix_dump(xbt_matrix_t matrix, const char *name, int coords,
+ void_f_pvoid_t const free_f);
+XBT_PUBLIC(xbt_matrix_t) xbt_matrix_new_sub(xbt_matrix_t from,
+ int lsize, int rsize,
+ int lpos, int rpos,
+ pvoid_f_pvoid_t const cpy_f);
+
+XBT_PUBLIC(void) xbt_matrix_free(xbt_matrix_t matrix);
+XBT_PUBLIC(void) xbt_matrix_free_voidp(void *d);
+
+XBT_PUBLIC(void) xbt_matrix_copy_values(xbt_matrix_t dest, xbt_matrix_t src,
+ unsigned int lsize, unsigned int rsize,
+ unsigned int lpos_dst,unsigned int rpos_dst,
+ unsigned int lpos_src,unsigned int rpos_src,
+ pvoid_f_pvoid_t const cpy_f);
+
+XBT_PUBLIC(void) xbt_matrix_dump(xbt_matrix_t matrix, const char *name, int coords,