Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove now unused parameter "default_value" for xbt_cfg_register.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 25 Sep 2013 21:32:35 +0000 (23:32 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 25 Sep 2013 21:32:35 +0000 (23:32 +0200)
commita957a7eb7a096470feb367832c201b71b58ea51e
treee89776e3c6d5126d4e289b3015a54a648b0d93b6
parentbdfe4f8674f98efbf2d67ad854ef83a1d5f855ed
Remove now unused parameter "default_value" for xbt_cfg_register.

Its usage was too problematic:
* it required a pointer to a variable containing the default value
* strings needed to be duplicated
* booleans needed to be given as ints
* callbacks were not called

You should use xbt_cfg_setdefault_* instead.
include/xbt/config.h
src/instr/instr_config.c
src/simgrid/sg_config.c
src/xbt/config.c