Ruby  3.4.0dev (2024-11-05 revision 348a53415339076afc4a02fcd09f3ae36e9c4c61)
enum_extensibility.h
Go to the documentation of this file.
1 #ifndef RBIMPL_ATTR_ENUM_EXTENSIBILITY_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define RBIMPL_ATTR_ENUM_EXTENSIBILITY_H
24 
26 #if RBIMPL_HAS_ATTRIBUTE(enum_extensibility)
27 # define RBIMPL_ATTR_ENUM_EXTENSIBILITY(_) __attribute__((__enum_extensibility__(_)))
28 #else
29 # define RBIMPL_ATTR_ENUM_EXTENSIBILITY(_) /* void */
30 #endif
31 
32 #endif /* RBIMPL_ATTR_ENUM_EXTENSIBILITY_H */
Defines RBIMPL_HAS_ATTRIBUTE.