From 9ef85040143abe2ccd8f2e6f33c2182476c7cc54 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 6 Jan 2001 10:45:01 -0500 Subject: [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. --- src/H5Ppublic.h | 14 ++++++++------ 1 file 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); -- cgit v0.12