Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change the type of return.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Jul 2010 08:51:50 +0000 (08:51 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 2 Jul 2010 08:51:50 +0000 (08:51 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7960 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/include/simix/simix.h
src/simix/smx_network.c

index d673c4e..f709199 100644 (file)
@@ -214,8 +214,8 @@ XBT_PUBLIC(void *) SIMIX_communication_get_data(smx_comm_t comm);
 
 XBT_PUBLIC(void *) SIMIX_communication_get_src_buf(smx_comm_t comm);
 XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf(smx_comm_t comm);
-XBT_PUBLIC(void *) SIMIX_communication_get_src_buf_size(smx_comm_t comm);
-XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf_size(smx_comm_t comm);
+XBT_PUBLIC(size_t) SIMIX_communication_get_src_buf_size(smx_comm_t comm);
+XBT_PUBLIC(size_t *) SIMIX_communication_get_dst_buf_size(smx_comm_t comm);
 
 /*****Networking*****/
 XBT_PUBLIC(void) SIMIX_network_set_copy_data_callback(void (*callback)(smx_comm_t, size_t));
index 53af644..54efa74 100644 (file)
@@ -444,11 +444,11 @@ XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf(smx_comm_t comm)
 {
   return comm->dst_buff;
 }
-XBT_PUBLIC(void *) SIMIX_communication_get_src_buf_size(smx_comm_t comm)
+XBT_PUBLIC(size_t) SIMIX_communication_get_src_buf_size(smx_comm_t comm)
 {
   return comm->src_buff_size;
 }
-XBT_PUBLIC(void *) SIMIX_communication_get_dst_buf_size(smx_comm_t comm)
+XBT_PUBLIC(size_t *) SIMIX_communication_get_dst_buf_size(smx_comm_t comm)
 {
   return comm->dst_buff_size;
 }