diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-10-01 19:42:21 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-10-01 19:42:21 (GMT) |
commit | 8231b5f0c94aa6680ad8c8b980e1352f1d50f626 (patch) | |
tree | 4bed76ea2b9b3f17e00ce4991e10b66aa16bf21d /src/H5Tcompound.c | |
parent | 08be85a294f76b57d338fdd46c9224039b0e05f3 (diff) | |
download | hdf5-8231b5f0c94aa6680ad8c8b980e1352f1d50f626.zip hdf5-8231b5f0c94aa6680ad8c8b980e1352f1d50f626.tar.gz hdf5-8231b5f0c94aa6680ad8c8b980e1352f1d50f626.tar.bz2 |
[svn-r9351]
Purpose: enhanced feature
Description: enable size adjustment for compound datatype. The size
can be increased and decreased(as long as the members are not cut).
Solution: mainly check if any member is being cut when decreasing the
size. Others are simply taking out the assertion against 0 size.
Platforms tested: h5committest and fuss.
Misc. update: RELEASE.txt
Diffstat (limited to 'src/H5Tcompound.c')
-rw-r--r-- | src/H5Tcompound.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Tcompound.c b/src/H5Tcompound.c index f50676f..f9c0035 100644 --- a/src/H5Tcompound.c +++ b/src/H5Tcompound.c @@ -38,7 +38,6 @@ static herr_t H5T_init_compound_interface(void); #define H5T_COMPND_INC 64 /*typical max numb of members per struct */ /* Static local functions */ -static size_t H5T_get_member_offset(H5T_t *dt, int membno); static herr_t H5T_pack(H5T_t *dt); @@ -128,7 +127,7 @@ done: * *------------------------------------------------------------------------- */ -static size_t +size_t H5T_get_member_offset(H5T_t *dt, int membno) { size_t ret_value; |