|
Ruby 4.1.0dev (2026-11-19 revision b3e890bf959ffb14f55ecd016717417a62ebd04e)
|
Defines RBIMPL_CONSTANT_P. More...
#include "ruby/internal/has/builtin.h"

Go to the source code of this file.
Macros | |
| #define | RBIMPL_CONSTANT_P(expr) |
| Wraps (or simulates) __builtin_constant_p. | |
Defines RBIMPL_CONSTANT_P.
Note that __builtin_constant_p can be applicable inside of inline functions, according to GCC manual. Clang lacks that feature, though.
Definition in file constant_p.h.
| #define RBIMPL_CONSTANT_P | ( | expr | ) |
Wraps (or simulates) __builtin_constant_p.
Definition at line 35 of file constant_p.h.
Referenced by RB_TYPE_P().