Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement gras_datadesc_copy. Was actually easier than expected, that's a really...
[simgrid.git] / src / gras / DataDesc / datadesc_interface.h
index 9cf3c3e..36af602 100644 (file)
@@ -28,7 +28,7 @@ gras_datadesc_type_cmp(const gras_datadesc_type_t d1,
 /* Access function */
 int  gras_datadesc_size(gras_datadesc_type_t type);
 /* Described data exchanges: direct use */
-void gras_datadesc_cpy(gras_datadesc_type_t type, void *src, void **dst);
+int gras_datadesc_copy(gras_datadesc_type_t type, void *src, void *dst);
 void gras_datadesc_send(gras_socket_t sock, gras_datadesc_type_t type, void *src);
 void gras_datadesc_recv(gras_socket_t sock, gras_datadesc_type_t type,
                                int r_arch, void *dst);