Ruby 4.1.0dev (2026-09-05 revision 8587ce292b62ce5dc21904981dc536e7e4e56d61)
artificial.h
Go to the documentation of this file.
1#ifndef RBIMPL_ATTR_ARTIFICIAL_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ATTR_ARTIFICIAL_H
38
40#if RBIMPL_HAS_ATTRIBUTE(artificial)
41# define RBIMPL_ATTR_ARTIFICIAL() __attribute__((__artificial__))
42#else
43# define RBIMPL_ATTR_ARTIFICIAL() /* void */
44#endif
45
46#endif /* RBIMPL_ATTR_ARTIFICIAL_H */
Defines RBIMPL_HAS_ATTRIBUTE.