-
- *key = xbt_dynar_get_as((*cursor)->keys, (*cursor)->pos, char*);
- key_len = xbt_dynar_get_as((*cursor)->key_lens, (*cursor)->pos_len, int);
-
- errcode = xbt_dictelm_get_ext((*cursor)->head, *key, key_len, data);
- if (errcode == mismatch_error) {
- xbt_dict_cursor_free(cursor);
- return FALSE;
- }
-
- xbt_assert1(errcode == no_error,
- "Unexpected problem while retrieving the content of cursor. Got %s",
- xbt_error_name(errcode));