X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5410c0dedd6e07e55c0a74a0664d1f8a73d69c1e..62cbd47a6b39a36431539d60f0f0efe81d228e4b:/src/surf/surf_routing.cpp diff --git a/src/surf/surf_routing.cpp b/src/surf/surf_routing.cpp index 4ad2e76499..dbc30ef44d 100644 --- a/src/surf/surf_routing.cpp +++ b/src/surf/surf_routing.cpp @@ -23,8 +23,8 @@ namespace simgrid { namespace surf { -surf_callback(void, simgrid::surf::RoutingEdge*) routingEdgeCreatedCallbacks; -surf_callback(void, simgrid::surf::As*) asCreatedCallbacks; +simgrid::surf::signal routingEdgeCreatedCallbacks; +simgrid::surf::signal asCreatedCallbacks; } } @@ -197,7 +197,7 @@ simgrid::surf::RoutingEdge *routing_add_host( } xbt_dynar_shrink(ctn, 0); xbt_dynar_free(&ctn_str); - h->set_facet(COORD_HOST_LEVEL, (void *) ctn); + h->extension_set(COORD_HOST_LEVEL, (void *) ctn); XBT_DEBUG("Having set host coordinates for '%s'",host->id); }