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
Fix some more doc errors. There is so many of them :(
[simgrid.git]
/
include
/
xbt
/
function_types.h
diff --git
a/include/xbt/function_types.h
b/include/xbt/function_types.h
index
37dd5f5
..
16431a1
100644
(file)
--- a/
include/xbt/function_types.h
+++ b/
include/xbt/function_types.h
@@
-22,6
+22,9
@@
typedef int (*int_f_int_pvoid_t)(int, void*);
typedef int (*int_f_pvoid_pvoid_t) (void *, void *);
typedef int (*int_f_cpvoid_cpvoid_t) (const void *, const void *);
typedef int (*int_f_pvoid_pvoid_t) (void *, void *);
typedef int (*int_f_cpvoid_cpvoid_t) (const void *, const void *);
+/** Prototype of an actor's main function
+ *
+ * The only difference with a classical main() in C is that the return type is void */
typedef void (*xbt_main_func_t)(int argc, char* argv[]);
SG_END_DECL
typedef void (*xbt_main_func_t)(int argc, char* argv[]);
SG_END_DECL