|
herr_t | H5open (void) |
| Initializes the HDF5 library. More...
|
|
herr_t | H5close (void) |
| Flushes all data to disk, closes all open objects, and releases memory. More...
|
|
herr_t | H5dont_atexit (void) |
| Instructs library not to install atexit() cleanup routine. More...
|
|
herr_t | H5garbage_collect (void) |
| Garbage collects on all free-lists of all types. More...
|
|
herr_t | H5set_free_list_limits (int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) |
| Sets free-list size limits. More...
|
|
herr_t | H5get_libversion (unsigned *majnum, unsigned *minnum, unsigned *relnum) |
| Returns the HDF library release number. More...
|
|
herr_t | H5check_version (unsigned majnum, unsigned minnum, unsigned relnum) |
| Verifies that HDF5 library versions are consistent. More...
|
|
herr_t | H5is_library_threadsafe (hbool_t *is_ts) |
| Determines whether the HDF5 library was built with the thread-safety feature enabled. More...
|
|
herr_t | H5free_memory (void *mem) |
| Frees memory allocated by the HDF5 library. More...
|
|
void * | H5allocate_memory (size_t size, hbool_t clear) |
| Frees memory allocated by the HDF5 library. More...
|
|
void * | H5resize_memory (void *mem, size_t size) |
| Resizes and, if required, re-allocates memory that will later be freed internally by the HDF5 library. More...
|
|
#define H5_VERSION_GE |
( |
|
Maj, |
|
|
|
Min, |
|
|
|
Rel |
|
) |
| |
Value:
#define H5_VERS_MAJOR
Definition: H5public.h:127
#define H5_VERS_MINOR
Definition: H5public.h:131
#define H5_VERS_RELEASE
Definition: H5public.h:135
Determines whether the version of the library being used is greater than or equal to the specified version.
- Parameters
-
[in] | Maj | Major version number - A non-negative integer value |
[in] | Min | Minor version number - A non-negative integer value |
[in] | Rel | Release version number - A non-negative integer value |
- Returns
- A value of 1 is returned if the library version is greater than or equal to the version number specified.
A value of 0 is returned if the library version is less than the version number specified.
A library version is greater than the specified version number if its major version is larger than the specified major version number. If the major version numbers are the same, it is greater than the specified version number if its minor version is larger than the specified minor version number. If the minor version numbers are the same, then a library version would be greater than the specified version number if its release number is larger than the specified release number.
The H5_VERSION_GE and H5_VERSION_LE macros are used at compile time to conditionally include or exclude code based on the version of the HDF5 library against which an application will be linked.
The H5_VERSION_GE macro compares the version of the HDF5 library being used against the version number specified in the parameters.
For more information about release versioning, see HDF5 Library Release Version Numbers.
- Since
- 1.8.7
#define H5_VERSION_LE |
( |
|
Maj, |
|
|
|
Min, |
|
|
|
Rel |
|
) |
| |
Value:
Determines whether the version of the library being used is less than or equal to the specified version.
- Parameters
-
[in] | Maj | Major version number - A non-negative integer value |
[in] | Min | Minor version number - A non-negative integer value |
[in] | Rel | Release version number - A non-negative integer value |
- Returns
- A value of 1 is returned if the library version is less than or equal to the version number specified.
A value of 0 is returned if the library version is greater than the version number specified.
A library version is less than the specified version number if its major version is smaller than the specified major version number. If the major version numbers are the same, it is smaller than the specified version number if its minor version is smaller than the specified minor version number. If the minor version numbers are the same, then a library version would be smaller than the specified version number if its release number is smaller than the specified release number.
The H5_VERSION_GE and H5_VERSION_LE macros are used at compile time to conditionally include or exclude code based on the version of the HDF5 library against which an application will be linked.
The H5_VERSION_LE macro compares the version of the HDF5 library being used against the version number specified in the parameters.
For more information about release versioning, see HDF5 Library Release Version Numbers.
- Since
- 1.8.7