summaryrefslogtreecommitdiffstats
path: root/src/H5Epubgen.h
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-03-17 20:14:14 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-03-17 20:14:14 (GMT)
commitb6e8651a3a98e2af1f8deb70dd73c1265065a588 (patch)
tree7b3cedcc29fbb1efbcc453f025a031193a3f89c9 /src/H5Epubgen.h
parent3597bbd700866e5673262cf1a9c7bb2b13da5286 (diff)
downloadhdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.zip
hdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.tar.gz
hdf5-b6e8651a3a98e2af1f8deb70dd73c1265065a588.tar.bz2
[svn-r12115] Purpose: Change codes in a more appropriate way.
Description: Yesterday, H5E_NONE_MAJOR and H5E_NONE_MINOR were added to error API by hand. Solution: Today, correct the change by hand with the tool hdf5/bin/make_err. The change by hand is only in src/H5err.txt. Platforms tested: fuss - simple change. Misc. update:
Diffstat (limited to 'src/H5Epubgen.h')
-rw-r--r--src/H5Epubgen.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5Epubgen.h b/src/H5Epubgen.h
index 3cfdb04..f8ee84c 100644
--- a/src/H5Epubgen.h
+++ b/src/H5Epubgen.h
@@ -42,6 +42,7 @@
#define H5E_OHDR (H5OPEN H5E_OHDR_g)
#define H5E_ATOM (H5OPEN H5E_ATOM_g)
#define H5E_ATTR (H5OPEN H5E_ATTR_g)
+#define H5E_NONE_MAJOR (H5OPEN H5E_NONE_MAJOR_g)
#define H5E_IO (H5OPEN H5E_IO_g)
#define H5E_SLIST (H5OPEN H5E_SLIST_g)
#define H5E_EFL (H5OPEN H5E_EFL_g)
@@ -50,7 +51,6 @@
#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 */
@@ -70,6 +70,7 @@ H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
H5_DLLVAR hid_t H5E_ATOM_g; /* Object atom */
H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
+H5_DLLVAR hid_t H5E_NONE_MAJOR_g; /* No error */
H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
@@ -78,7 +79,6 @@ 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 */
@@ -194,6 +194,10 @@ H5_DLLVAR hid_t H5E_LINK_g; /* Link count failure */
H5_DLLVAR hid_t H5E_SLINK_g; /* Symbolic link error */
H5_DLLVAR hid_t H5E_PATH_g; /* Problem with path to object */
+/* No error */
+#define H5E_NONE_MINOR (H5OPEN H5E_NONE_MINOR_g)
+H5_DLLVAR hid_t H5E_NONE_MINOR_g; /* No error */
+
/* File accessability errors */
#define H5E_FILEEXISTS (H5OPEN H5E_FILEEXISTS_g)
#define H5E_FILEOPEN (H5OPEN H5E_FILEOPEN_g)
@@ -310,8 +314,4 @@ 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 */