HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
h5_wrapper.hpp
Go to the documentation of this file.
1#pragma once
2#include <H5public.h>
3
4namespace HighFive {
5namespace detail {
6inline void h5_free_memory(void* mem) {
7 if (H5free_memory(mem) < 0) {
8 throw DataTypeException("Could not free memory allocated by HDF5");
9 }
10}
11
12namespace nothrow {
13inline herr_t h5_free_memory(void* mem) {
14 return H5free_memory(mem);
15}
16} // namespace nothrow
17
18} // namespace detail
19} // namespace HighFive
Definition H5_definitions.hpp:22