From: mquinson Date: Sat, 3 Jul 2004 07:31:12 +0000 (+0000) Subject: new function: gras_datadesc_size to allow messaging layer to malloc the needed space X-Git-Tag: v3.3~5196 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e8ebdf5454dea965597077441ee968d2f540550c?ds=sidebyside new function: gras_datadesc_size to allow messaging layer to malloc the needed space git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@150 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/gras/DataDesc/datadesc_interface.h b/src/gras/DataDesc/datadesc_interface.h index 970ee0cfb5..26c3ae8ceb 100644 --- a/src/gras/DataDesc/datadesc_interface.h +++ b/src/gras/DataDesc/datadesc_interface.h @@ -28,7 +28,8 @@ int gras_datadesc_type_cmp(const gras_datadesc_type_t *d1, const gras_datadesc_type_t *d2); - +/* Access function */ +int gras_datadesc_size(gras_datadesc_type_t *type); /* Described data exchanges */ gras_error_t gras_datadesc_cpy(gras_datadesc_type_t *type, void *src, void **dst);