summaryrefslogtreecommitdiffstats
path: root/src/H5Tpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-03-20 01:32:46 (GMT)
commitcd5fa3d2246fa738837cfa33583b402d039d1254 (patch)
tree90052c7c09cd907b94b3e9d1f73da7b76452c796 /src/H5Tpkg.h
parentcde84a55f48f83e5e13ca6138f5224ede7b612a6 (diff)
downloadhdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.zip
hdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.tar.gz
hdf5-cd5fa3d2246fa738837cfa33583b402d039d1254.tar.bz2
[svn-r10239] 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 6daef4f..3c19277 100644
--- a/src/H5Tpkg.h
+++ b/src/H5Tpkg.h
@@ -198,8 +198,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 */