Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 08:55:32

0001 #pragma once
0002 #include <H5public.h>
0003 
0004 namespace HighFive {
0005 namespace detail {
0006 inline void h5_free_memory(void* mem) {
0007     if (H5free_memory(mem) < 0) {
0008         throw DataTypeException("Could not free memory allocated by HDF5");
0009     }
0010 }
0011 
0012 namespace nothrow {
0013 inline herr_t h5_free_memory(void* mem) {
0014     return H5free_memory(mem);
0015 }
0016 }  // namespace nothrow
0017 
0018 }  // namespace detail
0019 }  // namespace HighFive