Ruby: include/ruby/internal/arithmetic/gid_t.h Source File

Ruby 3.3.7p123 (2025-01-15 revision be31f993d7fa0219d85f7b3c694d454da4ecc10b)

gid_t.h
Go to the documentation of this file.
1#ifndef RBIMPL_ARITHMETIC_GID_T_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ARITHMETIC_GID_T_H
23#include "ruby/internal/config.h"
24#include "ruby/internal/arithmetic/long.h"
25
27#ifndef GIDT2NUM
28# define GIDT2NUM RB_LONG2NUM
29#endif
30
32#ifndef NUM2GIDT
33# define NUM2GIDT RB_NUM2LONG
34#endif
35
37#ifndef PRI_GIDT_PREFIX
38# define PRI_GIDT_PREFIX PRI_LONG_PREFIX
39#endif
40
41#endif /* RBIMPL_ARITHMETIC_GID_T_H */
long.h
Arithmetic conversion between C's long and Ruby's.