X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/087461e6c39a9b153a38ff5de0efccb01f472bd3..91b3883142b769ef1fc0b7d460f78d2ae526bca2:/include/simgrid/simdag.h diff --git a/include/simgrid/simdag.h b/include/simgrid/simdag.h index 27efe346a0..55f8ba04e4 100644 --- a/include/simgrid/simdag.h +++ b/include/simgrid/simdag.h @@ -158,13 +158,6 @@ XBT_PUBLIC(xbt_dynar_t) SD_daxload(const char *filename); XBT_PUBLIC(xbt_dynar_t) SD_dotload(const char *filename); XBT_PUBLIC(xbt_dynar_t) SD_dotload_with_sched(const char *filename); XBT_PUBLIC(xbt_dynar_t) SD_PTG_dotload(const char *filename); -#ifdef __cplusplus -namespace simgrid { -namespace sd { -XBT_PUBLIC(std::set*) simulate(double how_long); -} -} -#endif /** @} */ /* Support some backward compatibility */ @@ -203,4 +196,13 @@ XBT_PUBLIC(std::set*) simulate(double how_long); //SD_route_get_list //TRACE_sd_set_task_category SG_END_DECL() + +#ifdef __cplusplus +namespace simgrid { +namespace sd { +XBT_PUBLIC(std::set*) simulate(double how_long); +} +} +#endif + #endif