X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d49424af95e13938bd75aaa5fdd36e5d3d4406f5..d6fc96fb24bb0006584d44bee70df5f67b37f5fb:/src/simix/smx_smurf_private.h diff --git a/src/simix/smx_smurf_private.h b/src/simix/smx_smurf_private.h index 376adf3b4d..61b606c635 100644 --- a/src/simix/smx_smurf_private.h +++ b/src/simix/smx_smurf_private.h @@ -242,7 +242,9 @@ typedef struct s_smx_simcall { struct { smx_action_t execution; + struct s_smx_simcall *simcall; e_smx_state_t result; + } host_execution_wait; struct { @@ -671,6 +673,9 @@ union u_smx_scalar { void* p; }; +#define SIMIX_pack_args(...) (u_smx_scalar_t[]){MAP(INIT_FIELD, __VA_ARGS__)} + + /* * Define scalar type wrappers to ease the use of simcalls. * These are used to wrap the arguments in SIMIX_simcall macro. @@ -688,8 +693,6 @@ union u_smx_scalar { #define DOUBLE(x) (d,x) #define PTR(x) (p,x) -#define MYMACRO(...) - /* * Some macro machinery to get a MAP over the arguments of a variadic macro. * It uses a FOLD to apply a macro to every argument, and because there is