NEP
4.3.0
NetCDF Expansion Pack
Loading...
Searching...
No Matches
src
nxcdf
nxcdf_err.h
Go to the documentation of this file.
1
14
#ifndef NXCDF_ERR_H
15
#define NXCDF_ERR_H
16
17
#include "config.h"
18
#include "
nep_logging.h
"
19
#include <netcdf.h>
20
#include <hdf5.h>
21
30
#ifdef EBAIL
31
#undef EBAIL
32
#endif
33
#define EBAIL(e) \
34
do { \
35
EBAILLOG(e); \
36
ret = e; \
37
goto fail; \
38
} while (0)
39
49
#ifdef NEP_LOGGING
50
#define EBAIL2(e) \
51
do { \
52
EBAILLOG(e); \
53
H5Eprint2(H5E_DEFAULT, stderr); \
54
ret = e; \
55
goto fail; \
56
} while (0)
57
#else
/* NEP_LOGGING */
58
#define EBAIL2(e) EBAIL(e)
59
#endif
/* NEP_LOGGING */
60
61
#endif
/* NXCDF_ERR_H */
nep_logging.h
Internal NEP diagnostic-logging macros.
Generated on
for NEP by
1.15.0