bugfixes
This commit is contained in:
@@ -23,6 +23,10 @@ h5_close_file (
|
||||
h5_file_t * const f
|
||||
);
|
||||
|
||||
h5_err_t
|
||||
h5_close_hdf5 (
|
||||
void);
|
||||
|
||||
h5_err_t
|
||||
h5_flush_step (
|
||||
h5_file_t * const f
|
||||
@@ -89,23 +93,6 @@ h5_traverse_steps (
|
||||
h5_file_t * f /*!< file handle */
|
||||
);
|
||||
|
||||
char *
|
||||
h5_strdupfor2c (
|
||||
const char *s,
|
||||
const ssize_t len
|
||||
);
|
||||
|
||||
char *
|
||||
h5_strc2for (
|
||||
char * const str,
|
||||
const ssize_t l_str
|
||||
);
|
||||
|
||||
h5_file_t *
|
||||
h5_filehandlefor2c (
|
||||
const h5_int64_t *ptr
|
||||
);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -16,19 +16,21 @@ extern "C" {
|
||||
H5_O_RDWR: dataset may exist
|
||||
*/
|
||||
|
||||
#define H5_O_RDWR 0x001
|
||||
#define H5_O_RDONLY 0x002
|
||||
#define H5_O_WRONLY 0x004
|
||||
#define H5_O_APPEND 0x008
|
||||
#define H5_O_RDWR 0x00000001
|
||||
#define H5_O_RDONLY 0x00000002
|
||||
#define H5_O_WRONLY 0x00000004
|
||||
#define H5_O_APPEND 0x00000008
|
||||
|
||||
#define H5_VFD_MPIPOSIX 0x010
|
||||
#define H5_VFD_INDEPENDENT 0x020
|
||||
#define H5_VFD_MPIPOSIX 0x00000010
|
||||
#define H5_VFD_MPIIO_IND 0x00000020
|
||||
#define H5_VFD_INDEPENDENT H5_VFD_MPIIO_IND // obsolete(?)
|
||||
#define H5_VFD_CORE 0x00000040
|
||||
|
||||
#define H5_FLUSH_FILE 0x040
|
||||
#define H5_FLUSH_STEP 0x080
|
||||
#define H5_FLUSH_DATASET 0x100
|
||||
#define H5_FLUSH_FILE 0x00001000
|
||||
#define H5_FLUSH_STEP 0x00002000
|
||||
#define H5_FLUSH_DATASET 0x00004000
|
||||
|
||||
#define H5_FS_LUSTRE 0x200
|
||||
#define H5_FS_LUSTRE 0x00010000
|
||||
|
||||
#define H5_ID_T H5T_NATIVE_INT64
|
||||
#define H5_FLOAT64_T H5T_NATIVE_DOUBLE
|
||||
@@ -53,11 +55,16 @@ typedef int64_t h5_id_t;
|
||||
typedef int16_t h5t_lvl_idx_t;
|
||||
typedef h5_int32_t h5t_elem_flags_t;
|
||||
typedef int64_t h5_glb_idx_t; // type for a global index
|
||||
//typedef int64_t h5_loc_idx_t; // type for a local index
|
||||
typedef int32_t h5_loc_idx_t; // type for a local index
|
||||
|
||||
#if defined(USE_LARGE_INDICES)
|
||||
typedef int64_t h5_loc_idx_t; // type for a local index
|
||||
typedef int64_t h5_loc_id_t; // type for a local ID
|
||||
#else
|
||||
typedef int32_t h5_loc_idx_t; // type for a local index
|
||||
typedef int32_t h5_loc_id_t; // type for a local ID
|
||||
#endif
|
||||
|
||||
typedef int64_t h5_glb_id_t; // type for a global ID
|
||||
//typedef int64_t h5_loc_id_t; // type for a local ID
|
||||
typedef int32_t h5_loc_id_t; // type for a local ID
|
||||
typedef uint64_t h5_size_t; /* size in number of elements */
|
||||
typedef int64_t h5_ssize_t; /* size in number of elements */
|
||||
typedef int64_t h5_err_t;
|
||||
|
||||
Reference in New Issue
Block a user