Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
mode_t.h
Go to the documentation of this file.
1#ifndef RBIMPL_ARITHMETIC_MODE_T_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ARITHMETIC_MODE_T_H
25
26#ifndef NUM2MODET
27# define NUM2MODET RB_NUM2INT
28#endif
29
30#ifndef MODET2NUM
31# define MODET2NUM RB_INT2NUM
32#endif
33
34#endif /* RBIMPL_ARITHMETIC_MODE_T_H */
Thin wrapper to ruby/config.h.
Arithmetic conversion between C's int and Ruby's.