diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 20:03:09 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 20:03:09 (GMT) |
commit | 7cac82cf682a8358582dd6f995a018f7a6d1a477 (patch) | |
tree | 48b12feeeb4ac23037b8cb5d09b99557fc58b067 /src/H5Dpkg.h | |
parent | 153444fed7bd9dfb2b7d90a47c79d11bd1188e96 (diff) | |
download | hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.zip hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.tar.gz hdf5-7cac82cf682a8358582dd6f995a018f7a6d1a477.tar.bz2 |
[svn-r8801] Purpose:
Code optimization
Description:
Set up datatype ID for dataset's datatype on disk. This allows us to avoid
repeatedly copying the datatype when an ID is needed.
Also, clean up a few warnings in various other places.
Platforms tested:
Solaris 2.7 (arabica)
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'src/H5Dpkg.h')
-rw-r--r-- | src/H5Dpkg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Dpkg.h b/src/H5Dpkg.h index 18af011..e1d4b71 100644 --- a/src/H5Dpkg.h +++ b/src/H5Dpkg.h @@ -78,6 +78,7 @@ typedef struct H5D_rdcdc_t { */ struct H5D_t { H5G_entry_t ent; /* cached object header stuff */ + hid_t type_id; /* ID for dataset's datatype */ H5T_t *type; /* datatype of this dataset */ H5S_t *space; /* dataspace of this dataset */ hid_t dcpl_id; /* dataset creation property id */ |