Ruby
3.4.0dev (2024-11-05 revision 348a53415339076afc4a02fcd09f3ae36e9c4c61)
include
ruby
internal
arithmetic
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
23
#include "ruby/internal/config.h"
24
#include "
ruby/internal/arithmetic/int.h
"
25
27
#ifndef NUM2MODET
28
# define NUM2MODET RB_NUM2INT
29
#endif
30
32
#ifndef MODET2NUM
33
# define MODET2NUM RB_INT2NUM
34
#endif
35
37
#ifndef PRI_MODET_PREFIX
38
# define PRI_MODET_PREFIX PRI_INT_PREFIX
39
#endif
40
41
#endif
/* RBIMPL_ARITHMETIC_MODE_T_H */
int.h
Arithmetic conversion between C's int and Ruby's.
Generated by
1.9.1