Ruby
4.0.0dev (2025-12-25 revision 6a66129d6c289b0da99cd89592f5ee948da6f381)
include
ruby
internal
arithmetic
pid_t.h
Go to the documentation of this file.
1
#ifndef RBIMPL_ARITHMETIC_PID_T_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_ARITHMETIC_PID_T_H
23
#include "ruby/internal/config.h"
24
#include "
ruby/internal/arithmetic/long.h
"
25
27
#ifndef PIDT2NUM
28
# define PIDT2NUM RB_LONG2NUM
29
#endif
30
32
#ifndef NUM2PIDT
33
# define NUM2PIDT RB_NUM2LONG
34
#endif
35
37
#ifndef PRI_PIDT_PREFIX
38
# define PRI_PIDT_PREFIX PRI_LONG_PREFIX
39
#endif
40
41
#endif
/* RBIMPL_ARITHMETIC_PID_T_H */
long.h
Arithmetic conversion between C's long and Ruby's.
Generated by
1.9.8