Ruby: include/ruby/internal/attr/artificial.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

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
37#include "ruby/internal/has/attribute.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 */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.