summaryrefslogtreecommitdiffstats
path: root/doc/html/RM_H5T.html
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-12 04:35:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-12 04:35:48 (GMT)
commit965a4cd7c9a2339bd559a3d5fbbc14a957318da4 (patch)
tree61df28e4cbb1d88eb1d3390e5a04e1db8cfb4276 /doc/html/RM_H5T.html
parent987e281c8afa3ebd4113d9efba251be4074fd55f (diff)
downloadhdf5-965a4cd7c9a2339bd559a3d5fbbc14a957318da4.zip
hdf5-965a4cd7c9a2339bd559a3d5fbbc14a957318da4.tar.gz
hdf5-965a4cd7c9a2339bd559a3d5fbbc14a957318da4.tar.bz2
[svn-r7468] Purpose:
Code cleanup, etc. Description: Generalize Ray's datatype fixes to handle packing compound datatypes which are the base type of an array or variable-length type, etc. Also track "packedness" of a compound datatype from it's creation, instead of only setting the 'packed' flag after the datatype was explicitly packed. Updated docs to reflect that a compound datatype is allowed to grow (but not shrink). Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'doc/html/RM_H5T.html')
-rw-r--r--doc/html/RM_H5T.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/RM_H5T.html b/doc/html/RM_H5T.html
index a877ff5..7895b71 100644
--- a/doc/html/RM_H5T.html
+++ b/doc/html/RM_H5T.html
@@ -1071,15 +1071,15 @@ H5Tget_overflow ()
<dd>Sets the total size for an atomic datatype.
<dt><strong>Description:</strong>
<dd><code>H5Tset_size</code> sets the total size in bytes,
- <code>size</code>, for an atomic datatype (this operation
- is not permitted on compound datatypes). If the size is
- decreased so that the significant bits of the datatype extend beyond
+ <code>size</code>, for a datatype. If the datatype is atomic and size
+ is decreased so that the significant bits of the datatype extend beyond
the edge of the new size, then the `offset' property is decreased
toward zero. If the `offset' becomes zero and the significant
bits of the datatype still hang over the edge of the new size, then
the number of significant bits is decreased.
Adjusting the size of an H5T_STRING automatically sets the precision
- to 8*size. All datatypes have a positive size.
+ to 8*size. A compound datatype may increase in size, but may not
+ shrink. All datatypes must have a positive size.
<dt><strong>Parameters:</strong>
<dl>
<dt><em>hid_t</em> <code>type_id</code>