|
Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)
|
Arithmetic conversion between C's mode_t and Ruby's. More...
Go to the source code of this file.
Macros | |
| #define | NUM2MODET RB_NUM2INT |
| Converts a C's mode_t into an instance of rb_cInteger. | |
| #define | MODET2NUM RB_INT2NUM |
| Converts an instance of rb_cNumeric into C's mode_t. | |
| #define | PRI_MODET_PREFIX PRI_INT_PREFIX |
| A rb_sprintf() format prefix to be used for a mode_t parameter. | |
Arithmetic conversion between C's mode_t and Ruby's.
Definition in file mode_t.h.
| #define MODET2NUM RB_INT2NUM |
Converts an instance of rb_cNumeric into C's mode_t.
| #define NUM2MODET RB_NUM2INT |
Converts a C's mode_t into an instance of rb_cInteger.