Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix debug message in simix
[simgrid.git] / src / simix / smx_smurf_private.h
index 362b86f..46d184a 100644 (file)
 #define SIMCALL_ENUM(type, ...)\
        type
 
+/* generate the strings name from the enumeration values */
+#define SIMCALL_STRING_TYPE(type, name, answer, res, ...)\
+       [type] = STRINGIFY(type)
+
 /* generate strings from the enumeration values */
 #define SIMCALL_TYPE(type, name, answer, res, ...)\
        [type] = STRINGIFY(MAP(SIMCALL_FORMAT, __VA_ARGS__))