diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-30 14:19:34 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-01-30 14:19:34 (GMT) |
commit | 7e7e5513e1a66163b88bc82a8d88563baddc3560 (patch) | |
tree | 30f0ad92e227b6bba42fe1170e2a609e3e2e439c /src/H5P.c | |
parent | fa5fd6a800c9c309add0d4c92bfb13fcfbed0e19 (diff) | |
download | hdf5-7e7e5513e1a66163b88bc82a8d88563baddc3560.zip hdf5-7e7e5513e1a66163b88bc82a8d88563baddc3560.tar.gz hdf5-7e7e5513e1a66163b88bc82a8d88563baddc3560.tar.bz2 |
[svn-r201] Changed H5Pget/set_hyperslab to final consensus types: int for offset and
size_t for count & stride.
Diffstat (limited to 'src/H5P.c')
-rw-r--r-- | src/H5P.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -937,7 +937,7 @@ H5Pset_space(hid_t sid, int rank, const size_t *dims) USAGE herr_t H5Pset_hyperslab(sid, start, count, stride) hid_t sid; IN: Dataspace object to select hyperslab from - const size_t *start; IN: Starting location for hyperslab to select + const int *start; IN: Starting location for hyperslab to select const size_t *count; IN: Number of elements in hyperslab const size_t *stride; IN: Packing of elements in hyperslab RETURNS @@ -952,7 +952,7 @@ H5Pset_space(hid_t sid, int rank, const size_t *dims) datasets which extend in arbitrary directions. --------------------------------------------------------------------------*/ herr_t -H5Pset_hyperslab(hid_t sid, const intn *start, const intn *count, const intn *stride) +H5Pset_hyperslab(hid_t sid, const int *start, const size_t *count, const size_t *stride) { H5P_t *space = NULL; /* dataspace to modify */ intn *tmp_stride=NULL; /* temp. copy of stride */ @@ -1037,8 +1037,8 @@ done: *------------------------------------------------------------------------- */ int -H5Pget_hyperslab (hid_t sid, int offset[]/*out*/, int size[]/*out*/, - int stride[]/*out*/) +H5Pget_hyperslab (hid_t sid, int offset[]/*out*/, size_t size[]/*out*/, + size_t stride[]/*out*/) { const H5P_t *ds = NULL; intn ret_value = FAIL; @@ -1079,7 +1079,7 @@ H5Pget_hyperslab (hid_t sid, int offset[]/*out*/, int size[]/*out*/, */ intn H5P_get_hyperslab (const H5P_t *ds, int offset[]/*out*/, - int size[]/*out*/, int stride[]/*out*/) + size_t size[]/*out*/, size_t stride[]/*out*/) { intn i; intn ret_value = FAIL; |