diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2015-10-09 20:05:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2015-10-09 20:05:25 (GMT) |
commit | 62f73dfa865207f7b0336b08578cb273be3ce691 (patch) | |
tree | 104963d624448b0036fac38bcbbaae9bcd2c495a /src/H5public.h | |
parent | 129c8840ae740afeab1013727614a76990c828ff (diff) | |
download | hdf5-62f73dfa865207f7b0336b08578cb273be3ce691.zip hdf5-62f73dfa865207f7b0336b08578cb273be3ce691.tar.gz hdf5-62f73dfa865207f7b0336b08578cb273be3ce691.tar.bz2 |
[svn-r28016] Undo r28009 changes.
Tested: jam.
Diffstat (limited to 'src/H5public.h')
-rw-r--r-- | src/H5public.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/H5public.h b/src/H5public.h index f5da58f..4dac82e 100644 --- a/src/H5public.h +++ b/src/H5public.h @@ -99,8 +99,8 @@ extern "C" { /* Empty string for real releases. */ #define H5_VERS_INFO "HDF5 library version: 1.8.17-snap0" /* Full version string */ -#define H5check() H5check_version(LT_VERS_INTERFACE, LT_VERS_REVISION, \ - LT_VERS_AGE) +#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) \ @@ -113,11 +113,6 @@ extern "C" { ((H5_VERS_MAJOR==Maj) && (H5_VERS_MINOR<Min)) || \ (H5_VERS_MAJOR<Maj)) -/* LT Version numbers */ -#define LT_VERS_INTERFACE 11 -#define LT_VERS_REVISION 0 -#define LT_VERS_AGE 1 - /* * Status return values. Failed integer functions in HDF5 result almost * always in a negative value (unsigned failing functions sometimes return @@ -334,7 +329,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); -H5_DLL herr_t H5check_version(unsigned interface, unsigned revision, unsigned age); +H5_DLL herr_t H5check_version(unsigned majnum, unsigned minnum, + 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); |