ARGOBOTS  dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
Macros
abti_error.h File Reference
#include <assert.h>
#include <abt_config.h>
Include dependency graph for abti_error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HANDLE_WARNING(msg)
 
#define HANDLE_ERROR(msg)
 
#define HANDLE_ERROR_WITH_CODE(msg, n)
 
#define HANDLE_ERROR_FUNC_WITH_CODE(n)
 

Macro Definition Documentation

◆ HANDLE_ERROR

#define HANDLE_ERROR (   msg)
Value:
do { \
if (ABTI_IS_PRINT_ABT_ERRNO_ENABLED) { \
fprintf(stderr, "[%s:%d] %s\n", __FILE__, __LINE__, msg); \
} \
} while (0)

Definition at line 53 of file abti_error.h.

◆ HANDLE_ERROR_FUNC_WITH_CODE

#define HANDLE_ERROR_FUNC_WITH_CODE (   n)
Value:
do { \
if (ABTI_IS_PRINT_ABT_ERRNO_ENABLED) { \
fprintf(stderr, "[%s:%d] %s: %d\n", __FILE__, __LINE__, __func__, \
n); \
} \
} while (0)

Definition at line 67 of file abti_error.h.

◆ HANDLE_ERROR_WITH_CODE

#define HANDLE_ERROR_WITH_CODE (   msg,
 
)
Value:
do { \
if (ABTI_IS_PRINT_ABT_ERRNO_ENABLED) { \
fprintf(stderr, "[%s:%d] %s: %d\n", __FILE__, __LINE__, msg, n); \
} \
} while (0)

Definition at line 60 of file abti_error.h.

◆ HANDLE_WARNING

#define HANDLE_WARNING (   msg)
Value:
do { \
if (ABTI_IS_PRINT_ABT_ERRNO_ENABLED) { \
fprintf(stderr, "[%s:%d] %s\n", __FILE__, __LINE__, msg); \
} \
} while (0)

Definition at line 46 of file abti_error.h.