X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0921a44d5521b3337b8752aa2a9f06ee1405fb24..3e7a6085312ea8e0cc7b71adaef4074db9b15892:/src/simix/popping_accessors.h diff --git a/src/simix/popping_accessors.h b/src/simix/popping_accessors.h index 5070dfdf83..343b8a1ea1 100644 --- a/src/simix/popping_accessors.h +++ b/src/simix/popping_accessors.h @@ -284,19 +284,6 @@ static inline void simcall_process_restart__set__result(smx_simcall_t simcall, s simgrid::simix::marshal(simcall->result, result); } -static inline smx_mailbox_t simcall_mbox_set_receiver__get__mbox(smx_simcall_t simcall) { - return simgrid::simix::unmarshal(simcall->args[0]); -} -static inline void simcall_mbox_set_receiver__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); -} -static inline smx_actor_t simcall_mbox_set_receiver__get__receiver(smx_simcall_t simcall) { - return simgrid::simix::unmarshal(simcall->args[1]); -} -static inline void simcall_mbox_set_receiver__set__receiver(smx_simcall_t simcall, smx_actor_t arg) { - simgrid::simix::marshal(simcall->args[1], arg); -} - static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) { return simgrid::simix::unmarshal(simcall->args[0]); } @@ -991,32 +978,6 @@ static inline void simcall_file_move__set__result(smx_simcall_t simcall, int res simgrid::simix::marshal(simcall->result, result); } -static inline smx_storage_t simcall_storage_get_free_size__get__storage(smx_simcall_t simcall) { - return simgrid::simix::unmarshal(simcall->args[0]); -} -static inline void simcall_storage_get_free_size__set__storage(smx_simcall_t simcall, smx_storage_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); -} -static inline sg_size_t simcall_storage_get_free_size__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); -} -static inline void simcall_storage_get_free_size__set__result(smx_simcall_t simcall, sg_size_t result){ - simgrid::simix::marshal(simcall->result, result); -} - -static inline smx_storage_t simcall_storage_get_used_size__get__name(smx_simcall_t simcall) { - return simgrid::simix::unmarshal(simcall->args[0]); -} -static inline void simcall_storage_get_used_size__set__name(smx_simcall_t simcall, smx_storage_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); -} -static inline sg_size_t simcall_storage_get_used_size__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); -} -static inline void simcall_storage_get_used_size__set__result(smx_simcall_t simcall, sg_size_t result){ - simgrid::simix::marshal(simcall->result, result); -} - static inline smx_storage_t simcall_storage_get_properties__get__storage(smx_simcall_t simcall) { return simgrid::simix::unmarshal(simcall->args[0]); } @@ -1030,19 +991,6 @@ static inline void simcall_storage_get_properties__set__result(smx_simcall_t sim simgrid::simix::marshal(simcall->result, result); } -static inline smx_storage_t simcall_storage_get_content__get__storage(smx_simcall_t simcall) { - return simgrid::simix::unmarshal(simcall->args[0]); -} -static inline void simcall_storage_get_content__set__storage(smx_simcall_t simcall, smx_storage_t arg) { - simgrid::simix::marshal(simcall->args[0], arg); -} -static inline xbt_dict_t simcall_storage_get_content__get__result(smx_simcall_t simcall){ - return simgrid::simix::unmarshal(simcall->result); -} -static inline void simcall_storage_get_content__set__result(smx_simcall_t simcall, xbt_dict_t result){ - simgrid::simix::marshal(simcall->result, result); -} - static inline int simcall_mc_random__get__min(smx_simcall_t simcall) { return simgrid::simix::unmarshal(simcall->args[0]); } @@ -1129,6 +1077,4 @@ XBT_PRIVATE sg_size_t simcall_HANDLER_file_tell(smx_simcall_t simcall, smx_file_ XBT_PRIVATE int simcall_HANDLER_file_seek(smx_simcall_t simcall, smx_file_t fd, sg_offset_t offset, int origin); XBT_PRIVATE xbt_dynar_t simcall_HANDLER_file_get_info(smx_simcall_t simcall, smx_file_t fd); XBT_PRIVATE int simcall_HANDLER_file_move(smx_simcall_t simcall, smx_file_t fd, const char* fullpath); -XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage); -XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t name); XBT_PRIVATE int simcall_HANDLER_mc_random(smx_simcall_t simcall, int min, int max); \ No newline at end of file