HighFive
2.10.1
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
4
namespace
HighFive
{
5
namespace
detail {
6
inline
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
12
namespace
nothrow {
13
inline
herr_t h5_free_memory(
void
* mem) {
14
return
H5free_memory(mem);
15
}
16
}
// namespace nothrow
17
18
}
// namespace detail
19
}
// namespace HighFive
HighFive
Definition
H5_definitions.hpp:22
highfive
bits
h5_wrapper.hpp
Generated by
1.11.0