|
Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
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.