elm = xbt_new0(struct graph_node_map_element, 1);
elm->node = node;
xbt_dict_set_ext(p_graphNodeMap, (char *) (&id), sizeof(int),
- (xbt_set_elm_t) elm, NULL);
+ (xbt_dictelm_t) elm, NULL);
return node;
}
elm->pred_arr = pred_arr;
elm->size = size;
xbt_dict_set_ext(p_routeCache, (char *) (&src_id), sizeof(int),
- (xbt_set_elm_t) elm, NULL);
+ (xbt_dictelm_t) elm, NULL);
}
if (!m_cached)
/* Create the topology graph */
if(!p_routeGraph)
- p_routeGraph = xbt_graph_new_graph(1, NULL);
+ p_routeGraph = xbt_graph_new_graph(1, NULL);
if(!p_graphNodeMap)
p_graphNodeMap = xbt_dict_new_homogeneous(&graph_node_map_elem_free);