X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c6089dcfb2c5b6c23a810804149599c348054c07..b63024606c00dc186c5ed6335449bb92342c8f9c:/include/simgrid/engine.h diff --git a/include/simgrid/engine.h b/include/simgrid/engine.h index 30be8afc41..66e74f561d 100644 --- a/include/simgrid/engine.h +++ b/include/simgrid/engine.h @@ -10,8 +10,10 @@ #include SG_BEGIN_DECL /* C interface */ -/** Initialize the SimGrid engine, taking the command line parameters of your main function. */ -XBT_PUBLIC void simgrid_init(int* argc, char** argv); + + /** Initialize the SimGrid engine, taking the command line parameters of your main function. */ + XBT_PUBLIC void + simgrid_init(int* argc, char** argv); /** Creates a new platform, including hosts, links, and the routing table. * @@ -40,7 +42,7 @@ XBT_PUBLIC void simgrid_register_default(void (*code)(int, char**)); /** Retrieve the simulation time (in seconds) */ XBT_PUBLIC double simgrid_get_clock(); /** Retrieve the number of actors in the simulation */ -XBT_PUBLIC int simgrid_get_actor_count(); +XBT_ATTRIB_DEPRECATED_v330("Please use sg_actor_count()") XBT_PUBLIC int simgrid_get_actor_count(); /** @brief Allow other libraries to react to the --help flag, too *