X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..ded5cf94692c990608fa712866ecddefc277f17e:/include/xbt/config.h diff --git a/include/xbt/config.h b/include/xbt/config.h index 486c5f7305..517909cb6e 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -61,18 +61,9 @@ typedef simgrid::config::Config* xbt_cfg_t; typedef void* xbt_cfg_t; #endif -SG_BEGIN_DECL() +SG_BEGIN_DECL /* Set the value of the cell @a name in @a cfg with the provided value.*/ -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::set_value or sg_cfg_set_int") XBT_PUBLIC - void xbt_cfg_set_int(const char* name, int val); -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::set_value or sg_cfg_set_double") XBT_PUBLIC - void xbt_cfg_set_double(const char* name, double val); -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::set_value or sg_cfg_set_boolean") XBT_PUBLIC - void xbt_cfg_set_boolean(const char* name, const char* val); -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::set_valueor sg_cfg_set_string") XBT_PUBLIC - void xbt_cfg_set_string(const char* name, const char* val); - XBT_PUBLIC void sg_cfg_set_int(const char* name, int val); XBT_PUBLIC void sg_cfg_set_double(const char* name, double val); XBT_PUBLIC void sg_cfg_set_boolean(const char* name, const char* val); @@ -103,17 +94,10 @@ typedef void (*xbt_cfg_cb_t)(const char* name); * @{ */ -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::get_value or sg_cfg_get_int") XBT_PUBLIC - int xbt_cfg_get_int(const char* name); -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::get_value or sg_cfg_get_double") XBT_PUBLIC - double xbt_cfg_get_double(const char* name); -XBT_ATTRIB_DEPRECATED_v325("Please use simgrid::config::get_value or sg_cfg_get_boolean") XBT_PUBLIC - int xbt_cfg_get_boolean(const char* name); - XBT_PUBLIC int sg_cfg_get_int(const char* name); XBT_PUBLIC double sg_cfg_get_double(const char* name); XBT_PUBLIC int sg_cfg_get_boolean(const char* name); /** @} */ -SG_END_DECL() +SG_END_DECL #endif /* XBT_CONFIG_H */