Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
give s4u::Actor a cname() method
[simgrid.git] / include / simgrid / s4u / Actor.hpp
index 0a14c7d..9b28492 100644 (file)
@@ -202,7 +202,9 @@ public:
 
   // ***** Methods *****
 
-  /** Retrieves the name of that actor */
+  /** Retrieves the name of that actor as a C string */
+  const char* cname();
+  /** Retrieves the name of that actor as a C++ string */
   simgrid::xbt::string name();
   /** Retrieves the host on which that actor is running */
   s4u::Host* host();