Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] fix define's to let users compile when tracing is not present
authorLucas Schnorr <Lucas.Schnorr@imag.fr>
Thu, 16 Jun 2011 10:32:46 +0000 (12:32 +0200)
committerLucas Schnorr <Lucas.Schnorr@imag.fr>
Thu, 16 Jun 2011 10:32:46 +0000 (12:32 +0200)
include/instr/instr.h

index e04864d..7a76692 100644 (file)
@@ -78,6 +78,7 @@ XBT_PUBLIC(void) TRACE_link_srcdst_variable_sub_with_time (double time, const ch
 #define TRACE_platform_graph_export_graphviz(g,filename)
 
 #define TRACE_host_variable_declare(var)
+#define TRACE_host_variable_declare_with_color(var,color)
 #define TRACE_host_variable_set(host,var,value)
 #define TRACE_host_variable_add(host,var,value)
 #define TRACE_host_variable_sub(host,var,value)
@@ -86,6 +87,7 @@ XBT_PUBLIC(void) TRACE_link_srcdst_variable_sub_with_time (double time, const ch
 #define TRACE_host_variable_sub_with_time(time,host,var,value)
 
 #define TRACE_link_variable_declare(var)
+#define TRACE_link_variable_declare_with_color(var,color)
 #define TRACE_link_variable_set(link,var,value)
 #define TRACE_link_variable_add(link,var,value)
 #define TRACE_link_variable_sub(link,var,value)