From e8ebdf5454dea965597077441ee968d2f540550c Mon Sep 17 00:00:00 2001 From: mquinson Date: Sat, 3 Jul 2004 07:31:12 +0000 Subject: [PATCH] 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 --- src/gras/DataDesc/datadesc_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1