diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-04-11 21:28:59 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2002-04-11 21:28:59 (GMT) |
commit | f368891ac839f5b6e20d717b586fc14afa194f3b (patch) | |
tree | 47d8cfd3a20bab35639a576c74e592c28feb0fbd /src/H5S.c | |
parent | 03520e73ed215adb28cad26fecdaf60ec7514355 (diff) | |
download | hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.zip hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.tar.gz hdf5-f368891ac839f5b6e20d717b586fc14afa194f3b.tar.bz2 |
[svn-r5168]
Purpose:
H5Dset_extent API function
Description:
1 new public function: H5Dset_extent, that allows shrinking a dataset
several private functions that free the previously allocated chunks
H5F_istore_prune_by_extent, H5B_prune_by_extent : removes the chunks
H5F_istore_initialize_by_extent : initializes them with the fill value
H5S_select_fill is used to fill the selection in the memory buffer
Platforms tested:
Windows 2000
SUN( arabica)
LINUX (eirene)
IRIX64 (modi4)
Diffstat (limited to 'src/H5S.c')
-rw-r--r-- | src/H5S.c | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -24,8 +24,6 @@ #include "H5Spkg.h" /* Data-space functions */ /* Local static function prototypes */ -herr_t H5S_set_extent_simple (H5S_t *space, unsigned rank, const hsize_t *dims, - const hsize_t *max); /* Interface initialization */ #define PABLO_MASK H5S_mask @@ -1979,7 +1977,7 @@ H5S_debug(H5F_t *f, const void *_mesg, FILE *stream, int indent, int fwidth) /*------------------------------------------------------------------------- - * Function: H5S_set_extend + * Function: H5S_set_extent * * Purpose: Modify the dimensions of a data space. Based on H5S_extend * @@ -1994,12 +1992,12 @@ H5S_debug(H5F_t *f, const void *_mesg, FILE *stream, int indent, int fwidth) *------------------------------------------------------------------------- */ -int H5S_set_extend( H5S_t *space, const hsize_t *size ) +int H5S_set_extent( H5S_t *space, const hsize_t *size ) { int ret_value = 0; unsigned u; - FUNC_ENTER( H5S_set_extend, FAIL ); + FUNC_ENTER( H5S_set_extent, FAIL ); /* Check args */ assert( space && H5S_SIMPLE==space->extent.type ); |