Ruby 3.5.0dev (2025-06-27 revision fe9a3be2966b0e54b93e9349bf47d4e5b879a6e1)
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.