* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h"
+#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/asserts.h"
return;
}
-void_f_void_t STag_graph_fun = nil_function;
-void_f_void_t ETag_graph_fun = nil_function;
-void_f_void_t STag_node_fun = nil_function;
-void_f_void_t ETag_node_fun = nil_function;
-void_f_void_t STag_edge_fun = nil_function;
-void_f_void_t ETag_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;
void xbt_graph_parse_reset_parser(void)
{
- STag_graph_fun = nil_function;
- ETag_graph_fun = nil_function;
- STag_node_fun = nil_function;
- ETag_node_fun = nil_function;
- STag_edge_fun = nil_function;
- ETag_edge_fun = nil_function;
+ STag_graphxml_graph_fun = nil_function;
+ ETag_graphxml_graph_fun = nil_function;
+ STag_graphxml_node_fun = nil_function;
+ ETag_graphxml_node_fun = nil_function;
+ STag_graphxml_edge_fun = nil_function;
+ ETag_graphxml_edge_fun = nil_function;
}
-void STag_graph(void)
+void STag_graphxml_graph(void)
{
- STag_graph_fun();
+ STag_graphxml_graph_fun();
}
-void ETag_graph(void)
+void ETag_graphxml_graph(void)
{
- ETag_graph_fun();
+ ETag_graphxml_graph_fun();
}
-void STag_node(void)
+void STag_graphxml_node(void)
{
- STag_node_fun();
+ STag_graphxml_node_fun();
}
-void ETag_node(void)
+void ETag_graphxml_node(void)
{
- ETag_node_fun();
+ ETag_graphxml_node_fun();
}
-void STag_edge(void)
+void STag_graphxml_edge(void)
{
- STag_edge_fun();
+ STag_graphxml_edge_fun();
}
-void ETag_edge(void)
+void ETag_graphxml_edge(void)
{
- ETag_edge_fun();
+ ETag_graphxml_edge_fun();
}
return xbt_graph_parse_lex();
}
-int_f_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)
{