X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/10675785aab38470f386150c08e4c3ab8fcc8a71..eb637bd7e0c8b1dc75b0d7cd1ec199b097134d34:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 8009151397..1b723886f9 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -35,14 +35,12 @@ XBT_PUBLIC void SIMIX_context_set_parallel_mode(e_xbt_parmap_mode_t mode); XBT_PUBLIC int SIMIX_is_maestro(); /********************************** Global ************************************/ -/* Initialization and exit */ -XBT_PUBLIC void SIMIX_global_init(int* argc, char** argv); - /* Set some code to execute in the maestro (must be used before the engine creation) * * If no maestro code is registered (the default), the main thread * is assumed to be the maestro. */ -XBT_PUBLIC void SIMIX_set_maestro(void (*code)(void*), void* data); +XBT_ATTRIB_DEPRECATED_v333("Please use simgrid_set_maestro()") XBT_PUBLIC + void SIMIX_set_maestro(void (*code)(void*), void* data); /* Simulation execution */ XBT_ATTRIB_DEPRECATED_v332("Please use EngineImpl:run()") XBT_PUBLIC void SIMIX_run(); @@ -58,8 +56,9 @@ SG_END_DECL /****************************** Communication *********************************/ #ifdef __cplusplus -XBT_PUBLIC void SIMIX_comm_set_copy_data_callback(void (*callback)(simgrid::kernel::activity::CommImpl*, void*, - size_t)); +XBT_ATTRIB_DEPRECATED_v333("Please use Engine::set_default_comm_data_copy_callback()") XBT_PUBLIC + void SIMIX_comm_set_copy_data_callback(void (*callback)(simgrid::kernel::activity::CommImpl*, void*, size_t)); + XBT_PUBLIC void SIMIX_comm_copy_pointer_callback(simgrid::kernel::activity::CommImpl* comm, void* buff, size_t buff_size); XBT_PUBLIC void SIMIX_comm_copy_buffer_callback(simgrid::kernel::activity::CommImpl* comm, void* buff,