X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6d0a1577e793ff234e7f12de5f13572685538d10..18baa3a0ab674a7402319d489a05e5b5d8b6fa36:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 0331d6b813..18451af516 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -14,6 +14,7 @@ #include #include #include +#include #endif /* ******************************** Host ************************************ */ @@ -134,6 +135,7 @@ XBT_PUBLIC void SIMIX_process_set_function(const char* process_host, const char* SG_END_DECL() #ifdef __cplusplus +XBT_PUBLIC void SIMIX_function_register(std::string name, void (*code)(std::vector)); XBT_PUBLIC void SIMIX_function_register(std::string name, xbt_main_func_t code); XBT_PUBLIC void SIMIX_launch_application(std::string file); #endif @@ -212,7 +214,8 @@ XBT_PUBLIC smx_actor_t simcall_process_create(std::string name, xbt_main_func_t std::unordered_map* properties); #endif -XBT_PUBLIC void SIMIX_process_throw(smx_actor_t process, xbt_errcat_t cat, int value, const char* mesg); +XBT_ATTRIB_DEPRECATED_v324("Please use ActorImpl::throw_exception") XBT_PUBLIC + void SIMIX_process_throw(smx_actor_t process, xbt_errcat_t cat, int value, const char* mesg); /* Process handling */ XBT_PUBLIC void simcall_process_suspend(smx_actor_t process);