|
Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)
|
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.