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
Document last changes
[simgrid.git]
/
include
/
gras
/
cond.h
diff --git
a/include/gras/cond.h
b/include/gras/cond.h
index
d435fc1
..
99ac277
100644
(file)
--- a/
include/gras/cond.h
+++ b/
include/gras/cond.h
@@
-13,23
+13,26
@@
#include "xbt/misc.h" /* BEGIN_DECL */
#include "xbt/misc.h" /* BEGIN_DECL */
-BEGIN_DECL
+BEGIN_DECL
()
-/**
- *
gras_if_RL:
+/**
@addtogroup GRAS_cond
+ *
@brief Handling code specific to the simulation or to the reality (Virtualization).
*
*
- * Returns true only if the program runs on real life
+ * Please note that those are real functions and not pre-processor defines. This is to ensure
+ * that the same object code can be linked against the SG library or the RL one without recompilation.
+ *
+ * @{
*/
*/
+
+/** \brief Returns true only if the program runs on real life */
int gras_if_RL(void);
int gras_if_RL(void);
-/**
- * gras_if_SG:
- *
- * Returns true only if the program runs within the simulator
- */
+/** \brief Returns true only if the program runs within the simulator */
int gras_if_SG(void);
int gras_if_SG(void);
-END_DECL
+/** @} */
+
+END_DECL()
#endif /* GRAS_COND_H */
#endif /* GRAS_COND_H */