summaryrefslogtreecommitdiffstats
path: root/src/H5Tpublic.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/H5Tpublic.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/H5Tpublic.h')
-rw-r--r--src/H5Tpublic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5Tpublic.h b/src/H5Tpublic.h
index f5af35d..7603816 100644
--- a/src/H5Tpublic.h
+++ b/src/H5Tpublic.h
@@ -25,6 +25,15 @@
#define HOFFSET(S,M) (offsetof(S,M))
+/*
+ * API compatibility macros - for backward compatibility of programs that
+ * explicitly use the 1.6 API functions (H5Gcreate1, etc.)
+ */
+#define H5Tarray_create1 H5Tarray_create
+#define H5Tcommit1 H5Tcommit
+#define H5Tget_array_dims1 H5Tget_array_dims
+#define H5Topen1 H5Topen
+
/* These are the various classes of datatypes */
/* If this goes over 16 types (0-15), the file format will need to change) */
typedef enum H5T_class_t {