Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
Arithmetic conversion between C's uid_t and Ruby's. More...
Go to the source code of this file.
Macros | |
#define | UIDT2NUM RB_LONG2NUM |
Converts a C's uid_t into an instance of rb_cInteger. | |
#define | NUM2UIDT RB_NUM2LONG |
Converts an instance of rb_cNumeric into C's uid_t. | |
#define | PRI_UIDT_PREFIX PRI_LONG_PREFIX |
A rb_sprintf() format prefix to be used for a uid_t parameter. |
Arithmetic conversion between C's uid_t and Ruby's.
Definition in file uid_t.h.
#define NUM2UIDT RB_NUM2LONG |
Converts an instance of rb_cNumeric into C's uid_t.
#define PRI_UIDT_PREFIX PRI_LONG_PREFIX |
#define UIDT2NUM RB_LONG2NUM |
Converts a C's uid_t into an instance of rb_cInteger.