summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
981999f)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1650
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#include "surfxml.h"
typedef void (*void_f_void_t)(void);
#include "surfxml.h"
typedef void (*void_f_void_t)(void);
+typedef int (*int_f_void_t)(void);
extern void_f_void_t STag_platform_description_fun;
extern void_f_void_t ETag_platform_description_fun;
extern void_f_void_t STag_platform_description_fun;
extern void_f_void_t ETag_platform_description_fun;
void surf_parse_open(const char *file);
void surf_parse_close(void);
void surf_parse_open(const char *file);
void surf_parse_close(void);
+extern int_f_void_t surf_parse;
void surf_parse_reset_parser(void);
void surf_parse_get_double(double *value,const char *string);
void surf_parse_get_trace(tmgr_trace_t *trace, const char *string);
void surf_parse_reset_parser(void);
void surf_parse_get_double(double *value,const char *string);
void surf_parse_get_trace(tmgr_trace_t *trace, const char *string);
+
+static int __surf_parse(void)
{
return surf_parse_lex();
}
{
return surf_parse_lex();
}
+int_f_void_t surf_parse = __surf_parse;
+
void surf_parse_get_double(double *value,const char *string)
{
int ret = 0;
void surf_parse_get_double(double *value,const char *string)
{
int ret = 0;