X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eed8daedf7c2d58e0db96826205f138cedb9cc5a..6d0e473f94be76c5d74554817adbc79f57aef669:/include/gras/emul.h
diff --git a/include/gras/emul.h b/include/gras/emul.h
index addace82c4..99b04f0a03 100644
--- a/include/gras/emul.h
+++ b/include/gras/emul.h
@@ -14,14 +14,9 @@
#include "xbt/misc.h" /* SG_BEGIN_DECL */
SG_BEGIN_DECL()
-
/** @addtogroup GRAS_emul
* @brief Code execution "emulation" and "virtualization".
*
- *
Top | [\ref index]::[\ref GRAS_API]
- * |
Prev | [\ref GRAS_globals]
- * |
Next | [\ref GRAS_main_generation] |
- *
* Emulation and virtualization words have a lot of different meanings in
* computer science. Here is what we mean, and what this module allows you
* to do (if it does not match your personal belives, I'm sorry):
@@ -50,17 +45,17 @@ SG_BEGIN_DECL()
*/
/** \brief Returns true only if the program runs on real life */
-int gras_if_RL(void);
+XBT_PUBLIC(int) gras_if_RL(void);
/** \brief Returns true only if the program runs within the simulator */
-int gras_if_SG(void);
+XBT_PUBLIC(int) gras_if_SG(void);
/** @} */
-int gras_bench_always_begin(const char *location, int line);
-int gras_bench_always_end(void);
-int gras_bench_once_begin(const char *location, int line);
-int gras_bench_once_end(void);
+XBT_PUBLIC(int) gras_bench_always_begin(const char *location, int line);
+XBT_PUBLIC(int) gras_bench_always_end(void);
+XBT_PUBLIC(int) gras_bench_once_begin(const char *location, int line);
+XBT_PUBLIC(int) gras_bench_once_end(void);
/** @addtogroup GRAS_emul
* \section GRAS_emul_timing Emulation