Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename BEGIN_DECL since we changed the usual definition to a macro with arguments...
[simgrid.git] / include / gras / timer.h
index af1aa56..f12c599 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "xbt/misc.h"
 
-BEGIN_DECL()
+SG_BEGIN_DECL()
 
 /** @addtogroup GRAS_timer
  *  @brief Delayed and repetitive tasks (Communication facility)
@@ -32,6 +32,8 @@ BEGIN_DECL()
  *  timer, the associated code gets executed before any incomming connexion 
  *  are checked. 
  *
+ *  The section \ref GRAS_ex_timer constitutes a perfect example of these features.
+ * 
  *  @{
  */
 
@@ -40,16 +42,16 @@ BEGIN_DECL()
   void gras_timer_delay(double delay, void_f_void_t action);
   void gras_timer_repeat(double interval, void_f_void_t action);
 
-  xbt_error_t gras_timer_cancel_delay(double interval, void_f_void_t action);
-  xbt_error_t gras_timer_cancel_repeat(double interval, void_f_void_t action);
+  void gras_timer_cancel_delay(double interval, void_f_void_t action);
+  void gras_timer_cancel_repeat(double interval, void_f_void_t action);
 
-  xbt_error_t gras_timer_cancel_delay_all(void);
-  xbt_error_t gras_timer_cancel_repeat_all(void);
+  void gras_timer_cancel_delay_all(void);
+  void gras_timer_cancel_repeat_all(void);
 
   void gras_timer_cancel_all(void);
 
 /** @} */
 
-END_DECL()
+SG_END_DECL()
 
 #endif /* GRAS_TIMER_H */