diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2006-03-16 21:29:23 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2006-03-16 21:29:23 (GMT) |
commit | 6e8ba9561dff2585c5078a01c4d6db0f790ba1fb (patch) | |
tree | aa7fea468eb89bb452239653ca0dd71259cecf21 /src/H5Eterm.h | |
parent | 2d6bcc32129ebe80b7962190affc0d7f18a19578 (diff) | |
download | hdf5-6e8ba9561dff2585c5078a01c4d6db0f790ba1fb.zip hdf5-6e8ba9561dff2585c5078a01c4d6db0f790ba1fb.tar.gz hdf5-6e8ba9561dff2585c5078a01c4d6db0f790ba1fb.tar.bz2 |
[svn-r12109] Purpose: Backward compatibility support
Description: Added H5E_NONE_MAJOR and H5E_NONE_MINOR as a major and minor
error message. Their messages are "no error", but because the old library
had them, they're added in for backward compatibility.
Platforms tested: fuss - simple change.
Diffstat (limited to 'src/H5Eterm.h')
-rw-r--r-- | src/H5Eterm.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5Eterm.h b/src/H5Eterm.h index 64f63c8..cc70893 100644 --- a/src/H5Eterm.h +++ b/src/H5Eterm.h @@ -47,7 +47,8 @@ H5E_TST_g= H5E_ARGS_g= H5E_ERROR_g= H5E_PLINE_g= -H5E_CACHE_g= (-1); +H5E_CACHE_g= +H5E_NONE_MAJOR_g=(-1); /* Reset minor error IDs */ @@ -181,6 +182,9 @@ H5E_BADVALUE_g= /* Datatype conversion errors */ H5E_CANTCONVERT_g= -H5E_BADSIZE_g= (-1); +H5E_BADSIZE_g= + +/* No error, only for backward compatibility */ +H5E_NONE_MINOR_g= (-1); #endif /* H5Eterm_H */ |