summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2016-03-08 17:49:38 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2016-03-08 17:49:38 (GMT)
commitd380f20a0d4ada972da1fa667e5faa04cf6e2221 (patch)
treead20790efc16ff023821337b9b03a71cfba5494f /src/H5public.h
parent3fabbf45f05855665da16e699e420a756d024a2c (diff)
downloadhdf5-d380f20a0d4ada972da1fa667e5faa04cf6e2221.zip
hdf5-d380f20a0d4ada972da1fa667e5faa04cf6e2221.tar.gz
hdf5-d380f20a0d4ada972da1fa667e5faa04cf6e2221.tar.bz2
[svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted: 29341, 29326 Branch features/h5check_version was created for further development. Files changed test/tcheck_version.c test/testcheck_version.sh.in src/H5public.h src/H5.c config/lt_vers.am bin/h5vers Tested with h5committest.new
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 3cfe42c..554ad26 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -99,12 +99,8 @@ extern "C" {
/* Empty string for real releases. */
#define H5_VERS_INFO "HDF5 library version: 1.9.234" /* Full version string */
-/* LT Version numbers */
-#define LT_VERS_INTERFACE 6
-#define LT_VERS_AGE 0
-#define LT_VERS_REVISION 224
-
-#define H5check() H5check_interface_compatibility(LT_VERS_INTERFACE, LT_VERS_AGE, LT_VERS_REVISION)
+#define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \
+ H5_VERS_RELEASE)
/* macros for comparing the version */
#define H5_VERSION_GE(Maj,Min,Rel) \
@@ -347,13 +343,8 @@ H5_DLL herr_t H5set_free_list_limits (int reg_global_lim, int reg_list_lim,
int blk_list_lim);
H5_DLL herr_t H5get_libversion(unsigned *majnum, unsigned *minnum,
unsigned *relnum);
-/* Deprecated by H5check_interface_compatibility. Need to keep it because
- * Fortran API calls it. To be retired later.
- */
H5_DLL herr_t H5check_version(unsigned majnum, unsigned minnum,
- unsigned relnum);
-H5_DLL herr_t H5check_interface_compatibility(unsigned interface, unsigned age, \
- unsigned revision);
+ unsigned relnum);
H5_DLL herr_t H5is_library_threadsafe(hbool_t *is_ts);
H5_DLL herr_t H5free_memory(void *mem);
H5_DLL void *H5allocate_memory(size_t size, hbool_t clear);