summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:35 (GMT)
commit9dad79e3f89fe69857cae152fbcba52b08b19dfd (patch)
tree3742794b688189a6001ffc3bb367336814ca2786 /src/H5Tpkg.h
parentbb4d9ebc552ca5e8a19b86d961363e6ac4abc6a6 (diff)
downloadhdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.zip
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.gz
hdf5-9dad79e3f89fe69857cae152fbcba52b08b19dfd.tar.bz2
[svn-r10238] Purpose:
Optimization Description: Speed up I/O on enumerated datatypes (including those nested in compound datatypes, arrays, etc.) if the destination datatype is a proper superset of the source datatype. Solution: Detect the situation and treat as no-op datatype conversion. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5Tpkg.h')
-rw-r--r--src/H5Tpkg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tpkg.h b/src/H5Tpkg.h
index 9d8900a..eb57d65 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -199,8 +199,8 @@ typedef enum H5T_state_t {
typedef struct H5T_shared_t {
hsize_t fo_count; /* number of references to this file object */
H5T_state_t state; /*current state of the type */
- H5F_t *sh_file;/*file pointer if this is a shared type */
H5T_class_t type; /*which class of type is this? */
+ H5F_t *sh_file;/*file pointer if this is a shared type */
size_t size; /*total size of an instance of this type */
hbool_t force_conv;/* Set if this type always needs to be converted and H5T_conv_noop cannot be called */
struct H5T_t *parent;/*parent type for derived datatypes */