Ruby  3.4.0dev (2024-11-22 revision 0989400a925cd201defdca9eb28eb87200b30785)
flag_enum.h
Go to the documentation of this file.
1 #ifndef RBIMPL_ATTR_FLAG_ENUM_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define RBIMPL_ATTR_FLAG_ENUM_H
25 
27 #if RBIMPL_HAS_ATTRIBUTE(flag_enum)
28 # define RBIMPL_ATTR_FLAG_ENUM() __attribute__((__flag_enum__))
29 #else
30 # define RBIMPL_ATTR_FLAG_ENUM() /* void */
31 #endif
32 
33 #endif /* RBIMPLATTR_FLAG_ENUM_H */
Defines RBIMPL_HAS_ATTRIBUTE.