[svn-r7434] Purpose:
Bug Fix and code cleanup
Description:
Correct error in H5T_detect_class that was causing nested compound datatypes
with to not detect the datatype class of fields correctly, which caused errors
with fill-values, variable-length datatypes and chunks later on.
Return the rank of the array datatype from H5Tget_array_dims(), like
H5Sget_dims().
Lots of cleanups to datatype code, to make the handling of arrays, compound
types, variable-length strings and sequences and enumerated types more
consistent and robust.
Platforms tested:
FreeBSD 4.9 (sleipnir)
h5committest
This commit is contained in:
@@ -2356,7 +2356,7 @@ permutation of the array and the size of each dimension.
|
||||
(<b>Note:</b> The permutation feature is not implemented in Release 1.4.)
|
||||
|
||||
<dir>
|
||||
<em>herr_t</em> <code>H5Tget_array_dims</code>(
|
||||
<em>int</em> <code>H5Tget_array_dims</code>(
|
||||
<em>hid_t</em> <code>adtype_id</code>,
|
||||
<em>hsize_t *</em><code>dims[]</code>,
|
||||
<em>int *</em><code>perm[]</code>
|
||||
|
||||
Reference in New Issue
Block a user