ARGOBOTS  7a09f9f632d87ed4f43aec50889983fa897fba10
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 37 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 51 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 44 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 30 of file abti_error.h.