rexlib
0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
rexlib
core
platform
cpp_attributes.hpp
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
10
#define REXLIB_CPP_ATTRIBUTE(attr) [[attr]]
11
20
#if defined(__has_cpp_attribute)
21
#define REXLIB_HAS_CPP_ATTRIBUTE(attr) __has_cpp_attribute(attr)
22
#elif defined(REXLIB_DOC_BUILD)
23
#define REXLIB_HAS_CPP_ATTRIBUTE(attr) 1
24
#else
25
#define REXLIB_HAS_CPP_ATTRIBUTE(attr) 0
26
#endif
Generated by
1.9.8