Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
document existing coding convention in C, and stick to it
[simgrid.git] / src / s4u / s4u_Host.cpp
index 0453276..5e90311 100644 (file)
@@ -385,11 +385,11 @@ xbt_dynar_t sg_hosts_as_dynar()
 // ========= Layering madness ==============*
 
 // ========== User data Layer ==========
-void* sg_host_get_data(sg_host_t host)
+void* sg_host_data(sg_host_t host)
 {
   return host->get_data();
 }
-void sg_host_set_data(sg_host_t host, void* userdata)
+void sg_host_data_set(sg_host_t host, void* userdata)
 {
   host->set_data(userdata);
 }