X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/215ed67257173f5e26c9489ec96c4ced08d1614a..85897b1307bb68f05f31385803f1b3a5b806a73f:/include/xbt/ex.h diff --git a/include/xbt/ex.h b/include/xbt/ex.h index f1bc41c884..ad19546efc 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -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);