A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Current state
[simgrid.git]
/
src
/
xbt
/
set.c
diff --git
a/src/xbt/set.c
b/src/xbt/set.c
index f4bc0e11cc04ad942db30d4c91c7548f56d075a2..efada3837efd007bcd1c5c32da11da0f961edc89 100644
(file)
--- a/
src/xbt/set.c
+++ b/
src/xbt/set.c
@@
-72,7
+72,7
@@
void xbt_set_add (xbt_set_t set,
found_in_dict = xbt_dict_get_ext (set->dict,
elm->name, elm->name_len);
} CATCH(e) {
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 );
RETHROW;
found = 0;
elm->ID = xbt_dynar_length( set->dynar );
@@
-101,7
+101,7
@@
void xbt_set_add (xbt_set_t set,
*
* \param set
* \param name Name of the searched cell
*
* \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) {
*/
xbt_set_elm_t xbt_set_get_by_name (xbt_set_t set,
const char *name) {
@@
-114,7
+114,7
@@
xbt_set_elm_t xbt_set_get_by_name (xbt_set_t set,
* \param set
* \param name Name of the searched cell
* \param name_len length of the name, when strlen cannot be trusted
* \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.
*
* This is useful when strlen cannot be trusted because you don't use a char*
* as name, you weirdo.
@@
-130,7
+130,7
@@
xbt_set_elm_t xbt_set_get_by_name_ext(xbt_set_t set,
*
* \param set
* \param id what you're looking for
*
* \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
*/
*
* @warning, if the ID does not exists, you're getting into trouble
*/