|
Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
|
Defines RBIMPL_ATTR_FORCEINLINE. More...
Go to the source code of this file.
Macros | |
| #define | RBIMPL_ATTR_FORCEINLINE() |
| Wraps (or simulates) __forceinline. | |
Defines RBIMPL_ATTR_FORCEINLINE.
Definition in file forceinline.h.
| #define RBIMPL_ATTR_FORCEINLINE | ( | ) |
Wraps (or simulates) __forceinline.
MSVC complains on declarations like static inline __forceinline void foo(). It seems MSVC's inline and __forceinline are mutually exclusive. We have to mimic that behaviour for non-MSVC compilers.
Definition at line 37 of file forceinline.h.