|
Ruby 3.4.6p54 (2025-09-16 revision dbd83256b1cec76c69756ecb8758b9e1079833de)
|
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.