X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0534a5e2af72c36c12d55f7ea323040e6e9bf36..102c27957beb3025cec67dda5e11590e60f8a682:/src/mc/mc_client_api.cpp diff --git a/src/mc/mc_client_api.cpp b/src/mc/mc_client_api.cpp index b0bed226ee..27e471d662 100644 --- a/src/mc/mc_client_api.cpp +++ b/src/mc/mc_client_api.cpp @@ -53,43 +53,3 @@ int MC_is_active() return get_model_checking_mode() == ModelCheckingMode::APP_SIDE || get_model_checking_mode() == ModelCheckingMode::CHECKER_SIDE; } - -void MC_automaton_new_propositional_symbol_pointer(const char *name, int* value) -{ -#if SIMGRID_HAVE_STATEFUL_MC - xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE, - "This should be called from the client side"); - if (MC_is_active()) - AppSide::get()->declare_symbol(name, value); -#endif -} - -void MC_ignore(void* addr, size_t size) -{ -#if SIMGRID_HAVE_STATEFUL_MC - xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE, - "This should be called from the client side"); - if (MC_is_active()) - AppSide::get()->ignore_memory(addr, size); -#endif -} - -void MC_ignore_heap(void *address, size_t size) -{ -#if SIMGRID_HAVE_STATEFUL_MC - xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE, - "This should be called from the client side"); - if (MC_is_active()) - AppSide::get()->ignore_heap(address, size); -#endif -} - -void MC_unignore_heap(void* address, size_t size) -{ -#if SIMGRID_HAVE_STATEFUL_MC - xbt_assert(get_model_checking_mode() != ModelCheckingMode::CHECKER_SIDE, - "This should be called from the client side"); - if (MC_is_active()) - AppSide::get()->unignore_heap(address, size); -#endif -}