Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
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().