summaryrefslogtreecommitdiffstats
path: root/src/H5Epubgen.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/H5Epubgen.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/H5Epubgen.h')
-rw-r--r--src/H5Epubgen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Epubgen.h b/src/H5Epubgen.h
index 28b2822..3cfdb04 100644
--- a/src/H5Epubgen.h
+++ b/src/H5Epubgen.h
@@ -50,6 +50,7 @@
#define H5E_ERROR (H5OPEN H5E_ERROR_g)
#define H5E_PLINE (H5OPEN H5E_PLINE_g)
#define H5E_CACHE (H5OPEN H5E_CACHE_g)
+#define H5E_NONE_MAJOR (H5OPEN H5E_NONE_MAJOR_g)
H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
@@ -77,6 +78,7 @@ H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
H5_DLLVAR hid_t H5E_ERROR_g; /* Error API */
H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
H5_DLLVAR hid_t H5E_CACHE_g; /* Object cache */
+H5_DLLVAR hid_t H5E_NONE_MAJOR_g; /* No error */
/*********************/
/* Minor error codes */
@@ -308,4 +310,8 @@ H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
H5_DLLVAR hid_t H5E_CANTCONVERT_g; /* Can't convert datatypes */
H5_DLLVAR hid_t H5E_BADSIZE_g; /* Bad size for object */
+/* No error, only for backward compatibility */
+#define H5E_NONE_MINOR (H5OPEN H5E_NONE_MINOR_g)
+H5_DLLVAR hid_t H5E_NONE_MINOR_g; /* No error, only for backward compatibility */
+
#endif /* H5Epubgen_H */