ein
0.0.1
一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
handles.hpp
Go to the documentation of this file.
1
#pragma once
2
13
#include "
common.hpp
"
14
32
33
45
#if __has_cpp_attribute(acquire_handle)
46
#define ein_acquire_handle(__x) [[clang::acquire_handle(__x)]]
47
#else
48
#define ein_acquire_handle(__x)
49
#endif
50
55
#if __has_cpp_attribute(release_handle)
56
#define ein_release_handle(__x) [[clang::release_handle(__x)]]
57
#else
58
#define ein_release_handle(__x)
59
#endif
60
65
#if __has_cpp_attribute(use_handle)
66
#define ein_use_handle(__x) [[clang::use_handle(__x)]]
67
#else
68
#define ein_use_handle(__x)
69
#endif
70
common.hpp
src
ein
attributes
handles.hpp
© 2024 Edward Kmett. All rights reserved.