diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-04-30 17:29:25 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-04-30 17:29:25 (GMT) |
commit | c1e74850e7961cf8fe29a52e041650d74cc97ebf (patch) | |
tree | c1fccecc154bf9959b52fdfbfc7e505fad98c2d3 /src/H5Spkg.h | |
parent | f395c2bb032888fbca30de953b41b44517d49089 (diff) | |
download | hdf5-c1e74850e7961cf8fe29a52e041650d74cc97ebf.zip hdf5-c1e74850e7961cf8fe29a52e041650d74cc97ebf.tar.gz hdf5-c1e74850e7961cf8fe29a52e041650d74cc97ebf.tar.bz2 |
[svn-r26984] Add support for unlimited selection being clipped in the middle of a block.
Add tests for this (pure selection tests, needs testing with VDS).
Various bug fixes.
Tested: ummon
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r-- | src/H5Spkg.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h index 226edf1..77ca954 100644 --- a/src/H5Spkg.h +++ b/src/H5Spkg.h @@ -55,6 +55,10 @@ * and 'size' callbacks for places to change when updating this. */ #define H5O_SDSPACE_VERSION_LATEST H5O_SDSPACE_VERSION_2 +/* Maximum dimension size (highest value that is not a special value e.g. + * H5S_UNLIMITED) */ +#define H5S_MAX_SIZE ((hsize_t)(hssize_t)(-2)) + /* * Dataspace extent information @@ -124,7 +128,7 @@ typedef struct { * contains H5S_UNLIMITED in the count or block of the unlimited * dimension (if any). */ int unlim_dim; /* Dimension where selection is unlimited, or -1 if none */ - hsize_t unlim_dim_clip_size; /* Size to which the selection is clipped in unlimited dimension */ + hssize_t unlim_dim_clip_size; /* Size to which the selection is clipped in unlimited dimension */ hsize_t num_elem_non_unlim; /* # of elements in a "slice" excluding the unlimited dimension */ H5S_hyper_span_info_t *span_lst; /* List of hyperslab span information */ } H5S_hyper_sel_t; |