summaryrefslogtreecommitdiffstats
path: root/src/H5Sprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-07 16:14:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-07 16:14:49 (GMT)
commit0f166ceda6b5002e4e45984ee981d8dab8ccf078 (patch)
treeab90e2d7cc24b8a8c17327f6131138721edb5318 /src/H5Sprivate.h
parentcf419d05ab65b423bc4ce395972e84522ca3eec5 (diff)
downloadhdf5-0f166ceda6b5002e4e45984ee981d8dab8ccf078.zip
hdf5-0f166ceda6b5002e4e45984ee981d8dab8ccf078.tar.gz
hdf5-0f166ceda6b5002e4e45984ee981d8dab8ccf078.tar.bz2
[svn-r455] Fixed various const and signed/unsigned problems and corrected one incorrect
type. Should compile much cleaner now.
Diffstat (limited to 'src/H5Sprivate.h')
-rw-r--r--src/H5Sprivate.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h
index a523405..74a6187 100644
--- a/src/H5Sprivate.h
+++ b/src/H5Sprivate.h
@@ -221,7 +221,7 @@ herr_t H5S_release_simple(H5S_simple_t *simple);
herr_t H5S_extent_copy(H5S_extent_t *dst, const H5S_extent_t *src);
herr_t H5S_select_copy (H5S_t *dst, const H5S_t *src);
herr_t H5S_select_release (H5S_t *space);
-hsize_t H5S_select_npoints (H5S_t *space);
+hsize_t H5S_select_npoints (const H5S_t *space);
intn H5S_extend (H5S_t *space, const hsize_t *size);
/* Conversion functions for simple data spaces */
@@ -279,7 +279,7 @@ herr_t H5S_point_mscat (const void *_tconv_buf, size_t elmt_size,
const H5S_t *mem_space, H5S_sel_iter_t *mem_iter,
size_t nelmts, void *_buf/*out*/);
herr_t H5S_point_release (H5S_t *space);
-hsize_t H5S_point_npoints (H5S_t *space);
+hsize_t H5S_point_npoints (const H5S_t *space);
/* "All" select functions */
herr_t H5S_all_init (const struct H5O_layout_t *layout,
@@ -303,7 +303,7 @@ herr_t H5S_all_mscat (const void *_tconv_buf, size_t elmt_size,
const H5S_t *mem_space, H5S_sel_iter_t *mem_iter,
size_t nelmts, void *_buf/*out*/);
herr_t H5S_all_release (H5S_t *space);
-hsize_t H5S_all_npoints (H5S_t *space);
+hsize_t H5S_all_npoints (const H5S_t *space);
/* Hyperslab selection functions */
herr_t H5S_hyper_init (const struct H5O_layout_t *layout,
@@ -328,6 +328,6 @@ herr_t H5S_hyper_mscat (const void *_tconv_buf, size_t elmt_size,
size_t nelmts, void *_buf/*out*/);
herr_t H5S_hyper_add (H5S_t *space, hssize_t *start, hssize_t *size);
herr_t H5S_hyper_release (H5S_t *space);
-hsize_t H5S_hyper_npoints (H5S_t *space);
+hsize_t H5S_hyper_npoints (const H5S_t *space);
#endif