Ruby
3.5.0dev (2025-04-25 revision f501d114ad7fd5ada5e711ddbd6c7feaaad1fc22)
include
ruby
internal
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
29
#include "
ruby/internal/has/builtin.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 */
builtin.h
Defines RBIMPL_HAS_BUILTIN.
Generated by
1.9.8