Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s/TRY/TRYOLD/ I'd like to introduce a TRY macro in the exception mecanism, but this...
[simgrid.git] / include / xbt / error.h
index b8ea1f0..7ee0b89 100644 (file)
@@ -65,7 +65,7 @@ typedef enum {
 /** @brief return the error code if != no_error
  *  @hideinitializer
  */
-#define TRY(action) do {                                       \
+#define TRYOLD(action) do {                                       \
   if ((errcode=action) != no_error) {                          \
      ERROR1("'%s' error raising...", xbt_error_name(errcode)); \
      return errcode;                                           \