diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-12-11 18:49:02 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-12-11 18:49:02 (GMT) |
commit | efc14a5341042f5d04f0578bd9820495f1e11d79 (patch) | |
tree | 2318e5300df1c05642694790b352d03dbe90283c /src/H5Pprivate.h | |
parent | 250ff23f4f9854b65c4c7b51d2db9f0e11768b87 (diff) | |
download | hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.zip hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.tar.gz hdf5-efc14a5341042f5d04f0578bd9820495f1e11d79.tar.bz2 |
[svn-r142] ./src/H5C.c
./src/H5Cprivate.h
Changed H5Csetparm() to H5Cset_prop() and changed it to pass
property values by value instead of reference. Changed
H5Cgetparm() to H5Cget_prop(). Changed data types of file
creation properties so the application can use `int' or
`size_t' for most properties. Properties and their types are
documented in H5Cget_prop().
Changed H5C_class() to H5Cget_class() to make the naming more
uniform across packages.
./src/H5Cpublic.h
Changed names of properties to make them more uniform across
packages: H5F_USERBLOCK_SIZE became H5F_SIZEOF_USERBLOCK,
H5F_OFFSET_SIZE became H5F_SIZEOF_ADDR, H5F_LENGTH_SIZE became
H5F_SIZEOF_SIZE.
./src/H5D.c
./src/H5Dprivate.h
Added support for chunked data storage. There still isn't any
support for data type conversion or data space conversion, so
chunked storage doesn't do much at this time.
./src/H5E.c
./src/H5Epublic.h
Added the H5E_TEMPLATE major error number. I'm about the
change the HGOTO_ERROR() and HRETURN_ERROR() macros to take an
error string as an additional argument instead of specifying
it as a comment.
./src/H5Fistore.c
Added `const' to the `buf' argument of H5F_istore_write()
although this temporarily causes a compiler warning.
./src/H5Fprivate.h
Changed data types of certain file-related variables from
types like `uint8' to `uintn' since the library data types
should not depend on the file data types.
./src/H5P.c
./src/H5Pprivate.h
./src/H5Ppublic.h
Moved H5Pget_lrank() to H5Pget_ndims(), and H5Pget_ldims() to
H5Pget_dims() to make naming more uniform. Dimensions should
always be of type `size_t'. Similarly for H5P_get_lrank() and
H5P_get_ldims().
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r-- | src/H5Pprivate.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h index 161fcf5..2f530f9 100644 --- a/src/H5Pprivate.h +++ b/src/H5Pprivate.h @@ -31,8 +31,8 @@ typedef struct H5P_simple_t { intn rank; /*number of dimensions */ intn dim_flags; /*dimension flags */ - intn *size; /*dimension sizes */ - intn *max; /*maximum dimension sizes */ + size_t *size; /*dimension sizes */ + size_t *max; /*maximum dimension sizes */ intn *perm; /*dimension permutations */ } H5P_simple_t; @@ -48,12 +48,12 @@ typedef struct { H5P_t *H5P_copy (const H5P_t *src); herr_t H5P_close (H5P_t *ds); size_t H5P_get_npoints (const H5P_t *ds); +intn H5P_get_ndims (const H5P_t *ds); +intn H5P_get_dims (const H5P_t *ds, size_t dims[]/*out*/); herr_t H5P_modify (H5F_t *f, H5G_entry_t *ent, const H5P_t *space); H5P_t *H5P_read (H5F_t *f, H5G_entry_t *ent); intn H5P_cmp (const H5P_t *ds1, const H5P_t *ds2); -intn H5P_get_lrank (const H5P_simple_t *sdim); -herr_t H5P_get_ldims (const H5P_simple_t *sdim, intn *dims); hbool_t H5P_is_simple (const H5P_t *sdim); uintn H5P_nelem (const H5P_t *space); |