X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2f810149832a2d855c33d0df5b02d736c2081e41..3a12c004433359e3e2b0a29a7913668a33872a69:/include/xbt/dict.h diff --git a/include/xbt/dict.h b/include/xbt/dict.h index 5c6f6df546..056dc8f795 100644 --- a/include/xbt/dict.h +++ b/include/xbt/dict.h @@ -91,12 +91,12 @@ XBT_PUBLIC(void *) xbt_dict_get_or_null_ext(xbt_dict_t dict, XBT_PUBLIC(void) xbt_dict_remove_ext(xbt_dict_t dict, const char *key, int key_len); - +#ifdef XBT_USE_DEPRECATED XBT_PUBLIC(void) xbt_dicti_set(xbt_dict_t dict, uintptr_t key, uintptr_t data); XBT_PUBLIC(uintptr_t) xbt_dicti_get(xbt_dict_t dict, uintptr_t key); XBT_PUBLIC(void) xbt_dicti_remove(xbt_dict_t dict, uintptr_t key); - +#endif /** @} */ /** @defgroup XBT_dict_curs Cursors on dictionaries @@ -147,6 +147,8 @@ XBT_PUBLIC(int) xbt_dict_cursor_get_or_free(xbt_dict_cursor_t * cursor, xbt_dict_cursor_step(cursor) ) /** @} */ + +#ifdef XBT_USE_DEPRECATED /** @defgroup XBT_dict_multi Multi-level dictionaries * @ingroup XBT_dict * @@ -160,12 +162,6 @@ XBT_PUBLIC(int) xbt_dict_cursor_get_or_free(xbt_dict_cursor_t * cursor, * @{ */ -/** \brief To dump multicache, this function dumps a cache */ -XBT_PUBLIC(void) xbt_dict_print(void *data); -/** \brief To dump multicache, this one dumps a string */ -XBT_PUBLIC(void) xbt_dict_prints(void *data); - - /*----[ xbt_multidict_set ]--------------------------------------------------*/ XBT_PUBLIC(void) xbt_multidict_set(xbt_dict_t mdict, @@ -189,6 +185,7 @@ XBT_PUBLIC(void) xbt_multidict_remove_ext(xbt_dict_t mdict, xbt_dynar_t lens); /** @} */ +#endif SG_END_DECL() #endif /* _XBT_DICT_H */