Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
regenerate flex generated files with a more recent flex (not mandatory, but cmake...
[simgrid.git] / include / xbt / ex.h
index a688f0d..619d16b 100644 (file)
@@ -18,6 +18,8 @@
 #include "xbt/misc.h"
 #include "xbt/virtu.h"
 
+SG_BEGIN_DECL()
+
 /*-*-* Emergency debuging: define this when the exceptions get crazy *-*-*/
 #undef __EX_MAYDAY
 
@@ -236,7 +238,8 @@ typedef enum {
   network_error,  /**< error while sending/receiving data */
   timeout_error,  /**< not quick enough, dude */
   thread_error,    /**< error while [un]locking */
-  host_error                            /**< host failed */
+  host_error,                            /**< host failed */
+  tracing_error   /**< error during the simulation tracing */
 } xbt_errcat_t;
 
 XBT_PUBLIC(const char *) xbt_ex_catname(xbt_errcat_t cat);
@@ -513,5 +516,7 @@ XBT_PUBLIC(void) xbt_backtrace_current(xbt_ex_t * e);
 /** @brief Display a previously captured backtrace */
 XBT_PUBLIC(void) xbt_backtrace_display(xbt_ex_t * e);
 
+SG_END_DECL()
+
 /** @} */
 #endif /* __XBT_EX_H__ */