diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-12 04:36:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-12 04:36:23 (GMT) |
commit | f3e445cfcb4573ce87212cf7046a3f67f36d616f (patch) | |
tree | 3e75cee494b31453d15f66c02d10922b4c10eea1 /doc/html/RM_H5T.html | |
parent | 75471825fde4e55fb23cda381563372bc91795e1 (diff) | |
download | hdf5-f3e445cfcb4573ce87212cf7046a3f67f36d616f.zip hdf5-f3e445cfcb4573ce87212cf7046a3f67f36d616f.tar.gz hdf5-f3e445cfcb4573ce87212cf7046a3f67f36d616f.tar.bz2 |
[svn-r7469] 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.html | 8 |
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> |