Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure doxygen still finds the code examples after recent data movement related...
[simgrid.git] / include / xbt / ex.h
index f1bc41c..ad19546 100644 (file)
@@ -170,7 +170,7 @@ typedef struct { __ex_mctx_struct } __ex_mctx_t;
  * following code which shows some pitfalls and contains many errors (assuming
  * a mallocex() function which throws an exception if malloc(3) fails):
  *
- * \dontinclude ex_test.c
+ * \dontinclude ex.c
  * \skip BAD_EXAMPLE
  * \until end_of_bad_example
  *
@@ -223,7 +223,7 @@ typedef enum {
   thread_error    /**< error while [un]locking */
 } xbt_errcat_t;
 
-const char *xbt_errcat_name(xbt_errcat_t errcode);
+const char * xbt_ex_catname(xbt_errcat_t cat);
 
 /** @brief Structure describing an exception */
 typedef struct {
@@ -463,7 +463,6 @@ extern void __xbt_ex_terminate_default(xbt_ex_t *e);
 
 /** @brief Exception destructor */
 void xbt_ex_free(xbt_ex_t e);
-const char * xbt_ex_catname(xbt_errcat_t cat);
 
 void xbt_ex_display(xbt_ex_t *e);