summaryrefslogtreecommitdiffstats
path: root/src/H5vers.txt
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2020-01-21 21:08:17 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2020-01-21 21:08:17 (GMT)
commit30ccab0fb391f04e380c190f8d27f4e4d319063b (patch)
tree4faaf514d369a7af8fd630bf913f5aafc8b88df2 /src/H5vers.txt
parenta63f22e27cad74c9bb98ca2b4d2a5fd118ef3571 (diff)
downloadhdf5-30ccab0fb391f04e380c190f8d27f4e4d319063b.zip
hdf5-30ccab0fb391f04e380c190f8d27f4e4d319063b.tar.gz
hdf5-30ccab0fb391f04e380c190f8d27f4e4d319063b.tar.bz2
Add v111 version for H5O functions to enable version1 default for HDF5
1.8-1.10 and version 3 default for HDF5 1.12. Version 2 functions are available (deprecated) but will not be the default for any version.
Diffstat (limited to 'src/H5vers.txt')
-rw-r--r--src/H5vers.txt21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/H5vers.txt b/src/H5vers.txt
index dc1bd8b..e3a3c0f 100644
--- a/src/H5vers.txt
+++ b/src/H5vers.txt
@@ -62,11 +62,22 @@ FUNCTION: H5Literate; H5L_iterate; v18, v112
FUNCTION: H5Literate_by_name; H5L_iterate; v18, v112
FUNCTION: H5Lvisit; H5L_iterate; v18, v112
FUNCTION: H5Lvisit_by_name; H5L_iterate; v18, v112
-FUNCTION: H5Oget_info; ; v18, v110, v112
-FUNCTION: H5Oget_info_by_name; ; v18, v110, v112
-FUNCTION: H5Oget_info_by_idx; ; v18, v110, v112
-FUNCTION: H5Ovisit; ; v18, v110, v112
-FUNCTION: H5Ovisit_by_name; ; v18, v110, v112
+# Note: v111 is allowed in make_vers because H5O functions were prematurely
+# versioned in HDF5 1.10. Because users were affected by this, the
+# versioning was rescinded but the H5O version 2 functions were kept
+# to be called directly. Now that the version macros are added in 1.12,
+# along with a 3rd version of the H5O functions, the H5O function
+# version for default api=v110 should be version 1 to work correctly
+# with 1.10 applications that were using unversioned H5O functions,
+# and the H5O function version should be version 3 for default api=v112
+# (the default api version for 1.12). Allowing a v111 entry and
+# incrementing its index 13 lines below allows a version 2 that is
+# never accessed via the H5O function macros.
+FUNCTION: H5Oget_info; ; v18, v111, v112
+FUNCTION: H5Oget_info_by_name; ; v18, v111, v112
+FUNCTION: H5Oget_info_by_idx; ; v18, v111, v112
+FUNCTION: H5Ovisit; ; v18, v111, v112
+FUNCTION: H5Ovisit_by_name; ; v18, v111, v112
FUNCTION: H5Pencode; ; v110, v112
FUNCTION: H5Pget_filter; ; v10, v18
FUNCTION: H5Pget_filter_by_id; ; v16, v18