found_in_dict = xbt_dict_get_ext (set->dict,
elm->name, elm->name_len);
} CATCH(e) {
- if (e.category != mismatch_error)
+ if (e.category != not_found_error)
RETHROW;
found = 0;
elm->ID = xbt_dynar_length( set->dynar );
*
* \param set
* \param name Name of the searched cell
- * \param dst where to put the found data into
+ * \returns the data you're looking for
*/
xbt_set_elm_t xbt_set_get_by_name (xbt_set_t set,
const char *name) {
* \param set
* \param name Name of the searched cell
* \param name_len length of the name, when strlen cannot be trusted
- * \param dst where to put the found data into
+ * \returns the data you're looking for
*
* This is useful when strlen cannot be trusted because you don't use a char*
* as name, you weirdo.
*
* \param set
* \param id what you're looking for
- * \param dst where to put the found data into
+ * \returns the data you're looking for
*
* @warning, if the ID does not exists, you're getting into trouble
*/