Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
A distraction, the SIMIX_process_create() function takes only six parameters.
[simgrid.git] / src / xbt / graphxml_parse.c
index 1c9a31c..b03c097 100644 (file)
@@ -26,12 +26,12 @@ static void nil_function(void)
   return;
 }
 
-void_pf_void_t STag_graphxml_graph_fun = nil_function;
-void_pf_void_t ETag_graphxml_graph_fun = nil_function;
-void_pf_void_t STag_graphxml_node_fun = nil_function;
-void_pf_void_t ETag_graphxml_node_fun = nil_function;
-void_pf_void_t STag_graphxml_edge_fun = nil_function;
-void_pf_void_t ETag_graphxml_edge_fun = nil_function;
+void_f_void_t STag_graphxml_graph_fun = nil_function;
+void_f_void_t ETag_graphxml_graph_fun = nil_function;
+void_f_void_t STag_graphxml_node_fun = nil_function;
+void_f_void_t ETag_graphxml_node_fun = nil_function;
+void_f_void_t STag_graphxml_edge_fun = nil_function;
+void_f_void_t ETag_graphxml_edge_fun = nil_function;
 
 YY_BUFFER_STATE xbt_graph_input_buffer;
 FILE *xbt_graph_file_to_parse;
@@ -48,34 +48,34 @@ void xbt_graph_parse_reset_parser(void)
 
 void STag_graphxml_graph(void)
 {
-  STag_graphxml_graph_fun();
+  (*STag_graphxml_graph_fun)();
 }
 
 void ETag_graphxml_graph(void)
 {
-  ETag_graphxml_graph_fun();
+  (*ETag_graphxml_graph_fun)();
 }
 
 
 void STag_graphxml_node(void)
 {
-  STag_graphxml_node_fun();
+  (*STag_graphxml_node_fun)();
 }
 
 void ETag_graphxml_node(void)
 {
-  ETag_graphxml_node_fun();
+  (*ETag_graphxml_node_fun)();
 }
 
 
 void STag_graphxml_edge(void)
 {
-  STag_graphxml_edge_fun();
+  (*STag_graphxml_edge_fun)();
 }
 
 void ETag_graphxml_edge(void)
 {
-  ETag_graphxml_edge_fun();
+  (*ETag_graphxml_edge_fun)();
 }
 
 
@@ -115,7 +115,7 @@ static int _xbt_graph_parse(void)
   return xbt_graph_parse_lex();
 }
 
-int_pf_void_t xbt_graph_parse = _xbt_graph_parse;
+int_f_void_t xbt_graph_parse = _xbt_graph_parse;
 
 void xbt_graph_parse_get_double(double *value,const char *string)
 {