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
API cleanup: s/dict_insert/dict_set/ and s/dict_retrieve/dict_get/ for consistency...
[simgrid.git]
/
src
/
xbt
/
dict_cursor.c
diff --git
a/src/xbt/dict_cursor.c
b/src/xbt/dict_cursor.c
index
6230696
..
2840c7a
100644
(file)
--- a/
src/xbt/dict_cursor.c
+++ b/
src/xbt/dict_cursor.c
@@
-226,7
+226,7
@@
gras_dict_cursor_get_or_free(gras_dict_cursor_t **cursor,
gras_dynar_get((*cursor)->keys, (*cursor)->pos, key );
gras_dynar_get((*cursor)->key_lens, (*cursor)->pos_len, &key_len);
gras_dynar_get((*cursor)->keys, (*cursor)->pos, key );
gras_dynar_get((*cursor)->key_lens, (*cursor)->pos_len, &key_len);
- errcode = gras_dictelm_
retrieve
_ext((*cursor)->head, *key, key_len, data);
+ errcode = gras_dictelm_
get
_ext((*cursor)->head, *key, key_len, data);
if (errcode == mismatch_error) {
gras_dict_cursor_free(*cursor);
*cursor=NULL;
if (errcode == mismatch_error) {
gras_dict_cursor_free(*cursor);
*cursor=NULL;
@@
-278,7
+278,7
@@
gras_dict_cursor_get_data(gras_dict_cursor_t *p_cursor,
gras_dynar_get(p_cursor->keys, p_cursor->pos-1, &key );
gras_dynar_get(p_cursor->key_lens, p_cursor->pos_len-1, &key_len);
gras_dynar_get(p_cursor->keys, p_cursor->pos-1, &key );
gras_dynar_get(p_cursor->key_lens, p_cursor->pos_len-1, &key_len);
- TRY(gras_dictelm_
retrieve
_ext(p_cursor->head, key, key_len, data));
+ TRY(gras_dictelm_
get
_ext(p_cursor->head, key, key_len, data));
return errcode;
}
return errcode;
}