+unsigned long
+xbt_dynar_length(const xbt_dynar_t dynar) {
+ return (dynar ? (unsigned long) dynar->used : (unsigned long)0);
+}
+
+/**
+ * \ingroup XBT_dynar
+ * \param dynar information dealer
+ * \param idx index of the slot we want to retrive
+ * \param[out] dst where to put the result to.
+ *
+ * Retrieve a copy of the Nth element of a dynar.
+ */
+void
+xbt_dynar_get_cpy(const xbt_dynar_t dynar,
+ const int idx,
+ void * const dst) {
+
+ __sanity_check_dynar(dynar);
+ __sanity_check_idx(idx);
+ __check_inbound_idx(dynar, idx);
+
+ _xbt_dynar_get_elm(dst, dynar, idx);