Ruby  3.4.0dev (2024-11-05 revision 348a53415339076afc4a02fcd09f3ae36e9c4c61)
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.