X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/166ad11130482e81d2c3e860ab6c61e972a4cdf6..9b509521ea81de97a210ca785ad29b3be310153f:/src/simix/popping_private.h diff --git a/src/simix/popping_private.h b/src/simix/popping_private.h index 90ac87f707..160e55efc4 100644 --- a/src/simix/popping_private.h +++ b/src/simix/popping_private.h @@ -11,6 +11,7 @@ #include #include +#include #include @@ -21,7 +22,7 @@ XBT_PUBLIC_DATA(const char*) simcall_names[]; /* Name of each simcall */ #include "popping_enum.h" /* Definition of e_smx_simcall_t, with one value per simcall */ -typedef int (*simix_match_func_t)(void *, void *, smx_activity_t); +typedef int (*simix_match_func_t)(void*, void*, simgrid::kernel::activity::CommImpl*); typedef void (*simix_copy_data_func_t)(smx_activity_t, void*, size_t); typedef void (*simix_clean_func_t)(void *); typedef void (*FPtr)(void); // Hide the ugliness @@ -121,9 +122,11 @@ SIMIX_MARSHAL(FPtr, fp); inline void unmarshal(type, u_smx_scalar const& simcall) { + /* Nothing to do for void data */ } inline void unmarshal_raw(type, u_smx_scalar const& simcall) { + /* Nothing to do for void data */ } template inline