- name,type,xbt_cfgelm_int, xbt_cfgelm_host);
- DEBUG5("Register cfg elm %s (%d to %d %s (=%d))",
- name,min,max,xbt_cfgelm_type_name[type],type);
- TRY {
- res = xbt_dict_get((xbt_dict_t)cfg,name);
- } CATCH(e) {
- if (e.category == not_found_error) {
- found = 1;
- xbt_ex_free(e);
- } else {
- RETHROW;
- }
- }
+ name,type,xbt_cfgelm_int, xbt_cfgelm_peer);
+ res = xbt_dict_get_or_null((xbt_dict_t)cfg,name);