Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
rename facets to extensions for clarity sake
[simgrid.git] / src / include / surf / surf.h
index 5e01fde..784d1aa 100644 (file)
@@ -200,7 +200,7 @@ XBT_PUBLIC_DATA(routing_platf_t) routing_platf;
 
 static inline surf_host_t surf_host_resource_priv(sg_host_t host)
 {
-  return (surf_host_t) sg_host_get_facet(host, SURF_HOST_LEVEL);
+  return (surf_host_t) sg_host_extension_get(host, SURF_HOST_LEVEL);
 }
 static inline void *surf_storage_resource_priv(const void *storage){
   return (void*)xbt_lib_get_level((xbt_dictelm_t)storage, SURF_STORAGE_LEVEL);