X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d0d626e19a7b79320e7d922c9c1dcf122076cea..c42000db0f347a26ac1645d830ac949194ec4da0:/include/gras/datadesc.h diff --git a/include/gras/datadesc.h b/include/gras/datadesc.h index 597686b28f..d3e57965ad 100644 --- a/include/gras/datadesc.h +++ b/include/gras/datadesc.h @@ -15,29 +15,10 @@ #include /* size_t */ #include - -/*! C++ users need love */ -#ifndef BEGIN_DECL -# ifdef __cplusplus -# define BEGIN_DECL extern "C" { -# else -# define BEGIN_DECL -# endif -#endif - -/*! C++ users need love */ -#ifndef END_DECL -# ifdef __cplusplus -# define END_DECL } -# else -# define END_DECL -# endif -#endif -/* End of cruft for C++ */ +#include "xbt/misc.h" /* BEGIN_DECL */ BEGIN_DECL - /** * gras_datadesc_type_t: * @@ -104,6 +85,9 @@ gras_datadesc_type_t * * Change stuff within datadescs * *********************************/ +void gras_datadesc_cycle_set(gras_datadesc_type_t *type); +void gras_datadesc_cycle_unset(gras_datadesc_type_t *type); + void gras_datadesc_cb_send (gras_datadesc_type_t *type, gras_datadesc_type_cb_void_t pre); void gras_datadesc_cb_recv(gras_datadesc_type_t *type,