summaryrefslogtreecommitdiffstats
path: root/src/H5Edefin.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-03-16 21:29:23 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-03-16 21:29:23 (GMT)
commit6e8ba9561dff2585c5078a01c4d6db0f790ba1fb (patch)
treeaa7fea468eb89bb452239653ca0dd71259cecf21 /src/H5Edefin.h
parent2d6bcc32129ebe80b7962190affc0d7f18a19578 (diff)
downloadhdf5-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/H5Edefin.h')
-rw-r--r--src/H5Edefin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5Edefin.h b/src/H5Edefin.h
index a41ec77..89ea64a 100644
--- a/src/H5Edefin.h
+++ b/src/H5Edefin.h
@@ -47,6 +47,7 @@ hid_t H5E_ARGS_g = FAIL; /* Invalid arguments to routine */
hid_t H5E_ERROR_g = FAIL; /* Error API */
hid_t H5E_PLINE_g = FAIL; /* Data filters */
hid_t H5E_CACHE_g = FAIL; /* Object cache */
+hid_t H5E_NONE_MAJOR_g = FAIL; /* No error, only for backward compatibility */
/* Minor error IDs */
@@ -181,4 +182,7 @@ hid_t H5E_BADVALUE_g = FAIL; /* Bad value */
hid_t H5E_CANTCONVERT_g = FAIL; /* Can't convert datatypes */
hid_t H5E_BADSIZE_g = FAIL; /* Bad size for object */
+/* No error, for backward compatibility */
+hid_t H5E_NONE_MINOR_g = FAIL;
+
#endif /* H5Edefin_H */