Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
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.