summaryrefslogtreecommitdiffstats
path: root/src/H5Apublic.h
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-10-11 20:52:15 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-10-11 20:52:15 (GMT)
commita8923db4466ec8aa153814f3a5bbe7df9251db4b (patch)
tree3257de9f6372c5d361382ac249a05d1acc559dbf /src/H5Apublic.h
parent8f95e6c2a5cc03a144d973fa57d2fc4fbda8dd48 (diff)
downloadhdf5-a8923db4466ec8aa153814f3a5bbe7df9251db4b.zip
hdf5-a8923db4466ec8aa153814f3a5bbe7df9251db4b.tar.gz
hdf5-a8923db4466ec8aa153814f3a5bbe7df9251db4b.tar.bz2
[svn-r15837] Purpose: Add version compatibility macros to 1.6
Decription: Added macros defining the "1" version functions in the 1.6 branch. Added tests for these macros. Closes bug 1318. Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r--src/H5Apublic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index c159e6f..0e8203d 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -22,6 +22,14 @@
/* Public headers needed by this file */
#include "H5Ipublic.h"
+/*
+ * API compatibility macros - for backward compatibility of programs that
+ * explicitly use the 1.6 API functions (H5Gcreate1, etc.)
+ */
+#define H5Acreate1 H5Acreate
+#define H5Aiterate1 H5Aiterate
+#define H5A_operator1_t H5A_operator_t
+
#ifdef __cplusplus
extern "C" {
#endif