34 #ifdef H5_HAVE_FEATURES_H 37 #ifdef H5_HAVE_SYS_TYPES_H 38 #include <sys/types.h> 40 #ifdef H5_STDC_HEADERS 44 # ifdef H5_HAVE_STDINT_H 48 # ifdef H5_HAVE_STDINT_H_CXX 52 #ifdef H5_HAVE_INTTYPES_H 53 # include <inttypes.h> 55 #ifdef H5_HAVE_STDDEF_H 58 #ifdef H5_HAVE_PARALLEL 79 #if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406 80 #define H5_GCC_DIAG_STR(s) #s 81 #define H5_GCC_DIAG_JOINSTR(x,y) H5_GCC_DIAG_STR(x ## y) 82 #define H5_GCC_DIAG_DO_PRAGMA(x) _Pragma (#x) 83 #define H5_GCC_DIAG_PRAGMA(x) H5_GCC_DIAG_DO_PRAGMA(GCC diagnostic x) 85 #define H5_GCC_DIAG_OFF(x) H5_GCC_DIAG_PRAGMA(push) H5_GCC_DIAG_PRAGMA(ignored H5_GCC_DIAG_JOINSTR(-W,x)) 86 #define H5_GCC_DIAG_ON(x) H5_GCC_DIAG_PRAGMA(pop) 88 #define H5_GCC_DIAG_OFF(x) 89 #define H5_GCC_DIAG_ON(x) 93 #define H5_VERS_MAJOR 1 94 #define H5_VERS_MINOR 8 95 #define H5_VERS_RELEASE 21 96 #define H5_VERS_SUBRELEASE "" 98 #define H5_VERS_INFO "HDF5 library version: 1.8.21" 100 #define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \ 104 #define H5_VERSION_GE(Maj,Min,Rel) \ 105 (((H5_VERS_MAJOR==Maj) && (H5_VERS_MINOR==Min) && (H5_VERS_RELEASE>=Rel)) || \ 106 ((H5_VERS_MAJOR==Maj) && (H5_VERS_MINOR>Min)) || \ 109 #define H5_VERSION_LE(Maj,Min,Rel) \ 110 (((H5_VERS_MAJOR==Maj) && (H5_VERS_MINOR==Min) && (H5_VERS_RELEASE<=Rel)) || \ 111 ((H5_VERS_MAJOR==Maj) && (H5_VERS_MINOR<Min)) || \ 146 #if H5_SIZEOF_SSIZE_T==0 148 #undef H5_SIZEOF_SSIZE_T 149 #if H5_SIZEOF_SIZE_T==H5_SIZEOF_INT 151 # define H5_SIZEOF_SSIZE_T H5_SIZEOF_INT 152 #elif H5_SIZEOF_SIZE_T==H5_SIZEOF_LONG 154 # define H5_SIZEOF_SSIZE_T H5_SIZEOF_LONG 155 #elif H5_SIZEOF_SIZE_T==H5_SIZEOF_LONG_LONG 157 # define H5_SIZEOF_SSIZE_T H5_SIZEOF_LONG_LONG 159 # error "nothing appropriate for ssize_t" 167 #if H5_SIZEOF_LONG_LONG >= 8 172 # define H5_SIZEOF_HSIZE_T H5_SIZEOF_LONG_LONG 173 # define H5_SIZEOF_HSSIZE_T H5_SIZEOF_LONG_LONG 175 # error "nothing appropriate for hsize_t" 181 #if H5_SIZEOF_INT64_T>=8 183 # define HADDR_UNDEF ((haddr_t)(int64_t)(-1)) 184 # define H5_SIZEOF_HADDR_T H5_SIZEOF_INT64_T 185 # ifdef H5_HAVE_PARALLEL 186 # define HADDR_AS_MPI_TYPE MPI_LONG_LONG_INT 188 #elif H5_SIZEOF_INT>=8 190 # define HADDR_UNDEF ((haddr_t)(-1)) 191 # define H5_SIZEOF_HADDR_T H5_SIZEOF_INT 192 # ifdef H5_HAVE_PARALLEL 193 # define HADDR_AS_MPI_TYPE MPI_UNSIGNED 195 #elif H5_SIZEOF_LONG>=8 197 # define HADDR_UNDEF ((haddr_t)(long)(-1)) 198 # define H5_SIZEOF_HADDR_T H5_SIZEOF_LONG 199 # ifdef H5_HAVE_PARALLEL 200 # define HADDR_AS_MPI_TYPE MPI_UNSIGNED_LONG 202 #elif H5_SIZEOF_LONG_LONG>=8 203 typedef unsigned long long haddr_t;
204 # define HADDR_UNDEF ((haddr_t)(long long)(-1)) 205 # define H5_SIZEOF_HADDR_T H5_SIZEOF_LONG_LONG 206 # ifdef H5_HAVE_PARALLEL 207 # define HADDR_AS_MPI_TYPE MPI_LONG_LONG_INT 210 # error "nothing appropriate for haddr_t" 212 #if H5_SIZEOF_HADDR_T ==H5_SIZEOF_INT 213 # define H5_PRINTF_HADDR_FMT "%u" 214 #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG 215 # define H5_PRINTF_HADDR_FMT "%lu" 216 #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG_LONG 217 # define H5_PRINTF_HADDR_FMT "%" H5_PRINTF_LL_WIDTH "u" 219 # error "nothing appropriate for H5_PRINTF_HADDR_FMT" 221 #define HADDR_MAX (HADDR_UNDEF-1) 226 #if H5_SIZEOF_UINT32_T>=4 227 #elif H5_SIZEOF_SHORT>=4 228 typedef short uint32_t;
229 # undef H5_SIZEOF_UINT32_T 230 # define H5_SIZEOF_UINT32_T H5_SIZEOF_SHORT 231 #elif H5_SIZEOF_INT>=4 232 typedef unsigned int uint32_t;
233 # undef H5_SIZEOF_UINT32_T 234 # define H5_SIZEOF_UINT32_T H5_SIZEOF_INT 235 #elif H5_SIZEOF_LONG>=4 236 typedef unsigned long uint32_t;
237 # undef H5_SIZEOF_UINT32_T 238 # define H5_SIZEOF_UINT32_T H5_SIZEOF_LONG 240 # error "nothing appropriate for uint32_t" 246 #if H5_SIZEOF_INT64_T>=8 247 #elif H5_SIZEOF_INT>=8 249 # undef H5_SIZEOF_INT64_T 250 # define H5_SIZEOF_INT64_T H5_SIZEOF_INT 251 #elif H5_SIZEOF_LONG>=8 252 typedef long int64_t;
253 # undef H5_SIZEOF_INT64_T 254 # define H5_SIZEOF_INT64_T H5_SIZEOF_LONG 255 #elif H5_SIZEOF_LONG_LONG>=8 256 typedef long long int64_t;
257 # undef H5_SIZEOF_INT64_T 258 # define H5_SIZEOF_INT64_T H5_SIZEOF_LONG_LONG 260 # error "nothing appropriate for int64_t" 266 #if H5_SIZEOF_UINT64_T>=8 267 #elif H5_SIZEOF_INT>=8 268 typedef unsigned uint64_t;
269 # undef H5_SIZEOF_UINT64_T 270 # define H5_SIZEOF_UINT64_T H5_SIZEOF_INT 271 #elif H5_SIZEOF_LONG>=8 272 typedef unsigned long uint64_t;
273 # undef H5_SIZEOF_UINT64_T 274 # define H5_SIZEOF_UINT64_T H5_SIZEOF_LONG 275 #elif H5_SIZEOF_LONG_LONG>=8 276 typedef unsigned long long uint64_t;
277 # undef H5_SIZEOF_UINT64_T 278 # define H5_SIZEOF_UINT64_T H5_SIZEOF_LONG_LONG 280 # error "nothing appropriate for uint64_t" 296 #define H5_ITER_ERROR (-1) 297 #define H5_ITER_CONT (0) 298 #define H5_ITER_STOP (1) 326 int arr_global_lim,
int arr_list_lim,
int blk_global_lim,
#define H5_GCC_DIAG_OFF(x)
struct H5_ih_info_t H5_ih_info_t
#define H5_GCC_DIAG_ON(x)
unsigned long long hsize_t
H5_DLL herr_t H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
H5_DLL herr_t H5get_libversion(unsigned *majnum, unsigned *minnum, unsigned *relnum)
H5_DLL herr_t H5dont_atexit(void)
H5_DLL herr_t H5garbage_collect(void)
H5_DLL herr_t H5free_memory(void *mem)
H5_DLL herr_t H5is_library_threadsafe(hbool_t *is_ts)
H5_DLL herr_t H5open(void)
signed long long hssize_t
H5_DLL herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
H5_DLL herr_t H5close(void)
H5_DLL void * H5resize_memory(void *mem, size_t size)
H5_DLL void * H5allocate_memory(size_t size, hbool_t clear)