ddn.lib.hdf5.h5
HDF5 Core Library Functions
This module provides D bindings to the general HDF5 library functions from H5public.h. These functions handle library initialization, shutdown, version information, and memory management.
License
BSD-3-Clause
alias H5_atclose_func_t
Types 1
aliasH5_atclose_func_t = void function(void * ctx)
Library shutdown callback function type.
This is the type of callback function that can be registered with H5atclose() to be invoked when the HDF5 library is closing.
Parameters
ctx | User-provided context pointer passed to H5atclose() |
Functions 14
fn
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.fn
herr_t H5get_free_list_sizes(size_t * reg_size, size_t * arr_size, size_t * blk_size, size_t * fac_size)Gets the current size of the free lists used to manage memory.fn
herr_t H5get_libversion(uint * majnum, uint * minnum, uint * relnum)Returns the HDF library release number.fn
herr_t H5check_version(uint majnum, uint minnum, uint relnum)Verifies that HDF5 library versions are consistent.fn
herr_t H5is_library_terminating(hbool_t * is_terminating)Checks whether the HDF5 library is closing.fn
herr_t H5is_library_threadsafe(hbool_t * is_ts)Determines whether the HDF5 library was built with thread-safety enabled.fn
void * H5allocate_memory(size_t size, hbool_t clear)Allocates memory that will later be freed internally by the HDF5 library.fn
herr_t H5atclose(H5_atclose_func_t func, void * ctx)Registers a callback for the library to invoke when it's closing.