X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/362b4dbfe18e585af36789119acafa5d5350fa20..ab23fd586c00bc3e9ea24f1dcd3d52dd0fc60bce:/include/simgrid/modelchecker.h diff --git a/include/simgrid/modelchecker.h b/include/simgrid/modelchecker.h index b0d7a37042..3d846c2a92 100644 --- a/include/simgrid/modelchecker.h +++ b/include/simgrid/modelchecker.h @@ -7,21 +7,27 @@ #include /* HAVE_MC ? */ #include +#include "xbt/automaton.h" #ifndef SIMGRID_MODELCHECKER_H #define SIMGRID_MODELCHECKER_H #ifdef HAVE_MC + extern int _surf_do_model_check; #define MC_IS_ENABLED _surf_do_model_check + +XBT_PUBLIC(void) MC_assert(int); +XBT_PUBLIC(int) MC_random(int min, int max); +XBT_PUBLIC(void) MC_automaton_new_propositional_symbol(const char* id, void* fct); + #else + #define MC_IS_ENABLED 0 +#define MC_assert(a) xbt_assert(a) + #endif -XBT_PUBLIC(void) MC_assert(int); -XBT_PUBLIC(void) MC_assert_stateful(int); -XBT_PUBLIC(int) MC_random(int min, int max); -XBT_PUBLIC(void) MC_diff(); #endif /* SIMGRID_MODELCHECKER_H */