diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2008-09-16 17:00:11 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2008-09-16 17:00:11 (GMT) |
commit | 3f9b3bcb471221bc50e39248ec49c8db7de4d637 (patch) | |
tree | 9d9e49a148138c10f3b100c911e084ab85ae7b33 /fortran/test | |
parent | bdd7d59902483885dd8b883f3b2393e77383e5e8 (diff) | |
download | hdf5-3f9b3bcb471221bc50e39248ec49c8db7de4d637.zip hdf5-3f9b3bcb471221bc50e39248ec49c8db7de4d637.tar.gz hdf5-3f9b3bcb471221bc50e39248ec49c8db7de4d637.tar.bz2 |
[svn-r15630] Description:
In nh5tget_offset_c:
(1) The return value type of H5Tget_offset was set to size_t where
it should be of type int.
(2) Was if offset was equal to 0 it returned the error code of -1 back to
Fortran, this was changed to return an error code of -1 when the
offset value is < 0.
In h5tget_norm_c:
(1) was if the return value of H5Tget_norm = 0 it would return an error
code to Fortran, but from enum of the return value:
typedef enum H5T_norm_t {
H5T_NORM_ERROR = -1, /*error */
H5T_NORM_IMPLIED = 0, /*msb of mantissa isn't stored, always 1 */
H5T_NORM_MSBSET = 1, /*msb of mantissa is always 1 */
H5T_NORM_NONE = 2 /*not normalized */
/*H5T_NORM_NONE must be last */
} H5T_norm_t;
only when -1 is returned is there an error, changed it to return an error
only if the value of H5T_NORM_ERROR = -1.
Diffstat (limited to 'fortran/test')
0 files changed, 0 insertions, 0 deletions