summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2001-01-06 15:45:01 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2001-01-06 15:45:01 (GMT)
commit9ef85040143abe2ccd8f2e6f33c2182476c7cc54 (patch)
treee85c0a2ad4fa688ea66f15ebef5881199df45b90 /src
parentea158f0f66495e5df9f60ed840527fc86938cc0c (diff)
downloadhdf5-9ef85040143abe2ccd8f2e6f33c2182476c7cc54.zip
hdf5-9ef85040143abe2ccd8f2e6f33c2182476c7cc54.tar.gz
hdf5-9ef85040143abe2ccd8f2e6f33c2182476c7cc54.tar.bz2
[svn-r3243] Purpose:
Bug fix Description: H5P_DATASET_XFER was the name from the beginning through 1.2. It was changed to H5P_DATA_XFER on v1.3.0. Then it was changed back to H5P_DATASET_XFER right before the release of v1.4.0-beta2. Define an alias here to help applications that had ported to v1.3. Should be removed in later version. #define H5P_DATA_XFER H5P_DATASET_XFER Also removed the v1_2 compat condition since it is a v1.3 compat issue now. Platforms tested: modi4 -64 parallel.
Diffstat (limited to 'src')
-rw-r--r--src/H5Ppublic.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index 072be5e..82d96fc 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -34,16 +34,18 @@ typedef enum H5P_class_t {
H5P_FILE_CREATE = 0, /*file creation properties */
H5P_FILE_ACCESS = 1, /*file access properties */
H5P_DATASET_CREATE = 2, /*dataset creation properties */
- H5P_DATASET_XFER = 3, /*data transfer properties */
- H5P_MOUNT = 4, /*file mounting properties */
-
+ H5P_DATASET_XFER = 3, /*data transfer properties */
+ H5P_MOUNT = 4, /*file mounting properties */
H5P_NCLASSES = 5 /*this must be last! */
} H5P_class_t;
-#if defined(WANT_H5_V1_2_COMPAT) || defined(H5_WANT_H5_V1_2_COMPAT)
-/* Alias for the previous H5P_DATA_XFER property list */
+/* H5P_DATASET_XFER was the name from the beginning through 1.2. It was
+ * changed to H5P_DATA_XFER on v1.3.0. Then it was changed back to
+ * H5P_DATASET_XFER right before the release of v1.4.0-beta2.
+ * Define an alias here to help applications that had ported to v1.3.
+ * Should be removed in later version.
+ */
#define H5P_DATA_XFER H5P_DATASET_XFER
-#endif /* WANT_H5_V1_2_COMPAT */
/* Define property list class callback function pointer types */
typedef herr_t (*H5P_cls_create_func_t)(hid_t prop_id, void *create_data);