+/** @brief Set the Nth dynar's element, expending the dynar and sliding the previous values to the right
+ *
+ * Set the Nth element of a dynar, expanding the dynar if needed, and
+ * moving the previously existing value and all subsequent ones to one
+ * position right in the dynar.
+ */
+void
+xbt_dynar_insert_at(xbt_dynar_t const dynar,
+ const int idx,
+ const void * const src) {
+
+ /* checks done in xbt_dynar_insert_at_ptr */
+ memcpy(xbt_dynar_insert_at_ptr(dynar,idx),
+ src,
+ dynar->elmsize);
+}
+
+/** @brief Remove the Nth dynar's element, sliding the previous values to the left