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 H5close() extern(C) @nogc nothrowFlushes all data to disk, closes all open objects, and releases memory.fn
herr_t H5dont_atexit() extern(C) @nogc nothrowInstructs library not to install atexit() cleanup routine.fn
herr_t H5garbage_collect() extern(C) @nogc nothrowGarbage collects on all free-lists of all types.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) extern(C) @nogc nothrowSets 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) extern(C) @nogc nothrowGets the current size of the free lists used to manage memory.fn
herr_t H5get_libversion(uint * majnum, uint * minnum, uint * relnum) extern(C) @nogc nothrowReturns the HDF library release number.fn
herr_t H5check_version(uint majnum, uint minnum, uint relnum) extern(C) @nogc nothrowVerifies that HDF5 library versions are consistent.fn
herr_t H5is_library_terminating(hbool_t * is_terminating) extern(C) @nogc nothrowChecks whether the HDF5 library is closing.fn
herr_t H5is_library_threadsafe(hbool_t * is_ts) extern(C) @nogc nothrowDetermines whether the HDF5 library was built with thread-safety enabled.fn
herr_t H5free_memory(void * mem) extern(C) @nogc nothrowFrees memory allocated by the HDF5 library.fn
void * H5allocate_memory(size_t size, hbool_t clear) extern(C) @nogc nothrowAllocates memory that will later be freed internally by the HDF5 library.fn
void * H5resize_memory(void * mem, size_t size) extern(C) @nogc nothrowResizes memory allocated by the HDF5 library.fn
herr_t H5atclose(H5_atclose_func_t func, void * ctx) extern(C) @nogc nothrowRegisters a callback for the library to invoke when it's closing.