X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5da257b445b756bf31c15477334d9952f9dfd7e8..a61b866b190b714478c1c53a5614008ae5ada205:/include/xbt/ex.h?ds=sidebyside diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 85307628ea..76673411e0 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -140,7 +140,7 @@ __ex_mctx_struct} __ex_mctx_t; * * @section XBT_ex_base BASIC USAGE * - * \em TRY \b TRIED_BLOCK [\em _CLEANUP \b _CLEANUP_BLOCK] \em CATCH (variable) \b CATCH_BLOCK + * \em TRY \b TRIED_BLOCK [\em TRY_CLEANUP \b CLEANUP_BLOCK] \em CATCH (variable) \b CATCH_BLOCK * * This is the primary syntactical construct provided. It is modeled after the * ISO-C++ try-catch clause and should sound familiar to most of you. @@ -363,7 +363,7 @@ XBT_PUBLIC_DATA(ex_term_cb_t) __xbt_ex_terminate; /** @brief optional(!) block for cleanup * @hideinitializer */ -#define _CLEANUP \ +#define TRY_CLEANUP \ else { \ } \ __xbt_ex_ctx_ptr->ctx_caught = 0; \