X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5a97de8c98502af9f74cfceb924fa02e0fd80925..d13b1659a0c2551ee41b287a269e391bb2d7bc8a:/src/mc/mc_mmalloc.h diff --git a/src/mc/mc_mmalloc.h b/src/mc/mc_mmalloc.h index 4ceecbd9df..b59d7d7f31 100644 --- a/src/mc/mc_mmalloc.h +++ b/src/mc/mc_mmalloc.h @@ -7,6 +7,7 @@ #ifndef MC_MMALLOC_H #define MC_MMALLOC_H +#include #include /** file @@ -16,7 +17,9 @@ * Normally the system should operate in std, for switching to raw mode * you must wrap the code between MC_SET_RAW_MODE and MC_UNSET_RAW_MODE. */ - + +SG_BEGIN_DECL() + extern xbt_mheap_t std_heap; extern xbt_mheap_t mc_heap; @@ -35,4 +38,6 @@ extern xbt_mheap_t mc_heap; #define MC_SET_MC_HEAP mmalloc_set_current_heap(mc_heap) #define MC_SET_STD_HEAP mmalloc_set_current_heap(std_heap) +SG_END_DECL() + #endif