Ruby 4.1.0dev (2026-04-03 revision 9ef2153cdfc96626a1b5096d9c31ca23f3395036)
constant_p.h
Go to the documentation of this file.
1#ifndef RBIMPL_CONSTANT_P_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_CONSTANT_P_H
30
32#if RBIMPL_HAS_BUILTIN(__builtin_constant_p)
33# define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr)
34#else
35# define RBIMPL_CONSTANT_P(expr) 0
36#endif
37
38#endif /* RBIMPL_CONSTANT_P_H */
Defines RBIMPL_HAS_BUILTIN.