Ruby  3.4.0dev (2024-11-23 revision b4d13fac3dd5420475aa1e14fdad8137da7e3ee0)
noinline.h
Go to the documentation of this file.
1 #ifndef RBIMPL_ATTR_NOINLINE_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define RBIMPL_ATTR_NOINLINE_H
25 
27 #if RBIMPL_HAS_DECLSPEC_ATTRIBUTE(noinline)
28 # define RBIMPL_ATTR_NOINLINE() __declspec(noinline)
29 #elif RBIMPL_HAS_ATTRIBUTE(noinline)
30 # define RBIMPL_ATTR_NOINLINE() __attribute__((__noinline__))
31 #else
32 # define RBIMPL_ATTR_NOINLINE() /* void */
33 #endif
34 
35 #endif /* RBIMPL_ATTR_NOINLINE_H */
Defines RBIMPL_HAS_ATTRIBUTE.
Defines RBIMPL_HAS_DECLSPEC_ATTRIBUTE.