A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The parenthesis of SG_BEGIN_DECL fools doxygen. Get rid of them
[simgrid.git]
/
include
/
simgrid
/
actor.h
diff --git
a/include/simgrid/actor.h
b/include/simgrid/actor.h
index
9b38ab5
..
473a10d
100644
(file)
--- a/
include/simgrid/actor.h
+++ b/
include/simgrid/actor.h
@@
-11,7
+11,7
@@
#include <xbt/dict.h>
/* C interface */
#include <xbt/dict.h>
/* C interface */
-SG_BEGIN_DECL
()
+SG_BEGIN_DECL
/** @brief Actor datatype.
@ingroup m_actor_management
/** @brief Actor datatype.
@ingroup m_actor_management
@@
-20,6
+20,8
@@
SG_BEGIN_DECL()
You should not access directly to the fields of the pointed structure, but always use the provided API to interact
with actors.
*/
You should not access directly to the fields of the pointed structure, but always use the provided API to interact
with actors.
*/
+XBT_PUBLIC sg_actor_t sg_actor_init(const char* name, sg_host_t host);
+XBT_PUBLIC void sg_actor_start(sg_actor_t actor, xbt_main_func_t code, int argc, char** argv);
XBT_PUBLIC aid_t sg_actor_get_PID(sg_actor_t actor);
XBT_PUBLIC aid_t sg_actor_get_PPID(sg_actor_t actor);
XBT_PUBLIC sg_actor_t sg_actor_by_PID(aid_t pid);
XBT_PUBLIC aid_t sg_actor_get_PID(sg_actor_t actor);
XBT_PUBLIC aid_t sg_actor_get_PPID(sg_actor_t actor);
XBT_PUBLIC sg_actor_t sg_actor_by_PID(aid_t pid);
@@
-52,6
+54,6
@@
XBT_PUBLIC void sg_actor_unref(sg_actor_t actor);
XBT_PUBLIC void* sg_actor_data(sg_actor_t actor);
XBT_PUBLIC void sg_actor_data_set(sg_actor_t actor, void* userdata);
XBT_PUBLIC void* sg_actor_data(sg_actor_t actor);
XBT_PUBLIC void sg_actor_data_set(sg_actor_t actor, void* userdata);
-SG_END_DECL
()
+SG_END_DECL
#endif /* INCLUDE_SIMGRID_ACTOR_H_ */
#endif /* INCLUDE_SIMGRID_ACTOR_H_ */