1 #define CONCAT2x(a,b) a##b
2 #define CONCAT2(a,b) CONCAT2x(a,b)
4 #define ATYPE CONCAT2(TYPE,Array)
6 #define WRITEFUNC CONCAT2(XLALH5FileWrite,ATYPE)
7 #define READFUNC CONCAT2(XLALH5FileRead,ATYPE)
8 #define DSETALLOCFUNC CONCAT2(XLALH5DatasetAlloc,ATYPE)
9 #define DSETREADFUNC CONCAT2(XLALH5DatasetRead,ATYPE)
16 if (!array->data || !array->dimLength || !array->dimLength->length || !array->dimLength->data)
LALH5Dataset * XLALH5DatasetRead(LALH5File *file, const char *name)
struct tagLALH5File LALH5File
Incomplete type for a HDF5 file.
struct tagLALH5Dataset LALH5Dataset
Incomplete type for a HDF5 dataset.
void XLALH5DatasetFree(LALH5Dataset *dset)
#define XLAL_ERROR_NULL(...)
Macro to invoke a failure from a XLAL routine returning a pointer.
#define XLAL_ERROR(...)
Macro to invoke a failure from a XLAL routine returning an integer.
@ XLAL_EFAULT
Invalid pointer.
@ XLAL_EFUNC
Internal function call failed bit: "or" this with existing error number.
@ XLAL_EINVAL
Invalid argument.