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

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

uid_t.h
Go to the documentation of this file.
1#ifndef RBIMPL_ARITHMETIC_UID_T_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ARITHMETIC_UID_T_H
23#include "ruby/internal/config.h"
24#include "ruby/internal/arithmetic/long.h"
25
26#ifndef UIDT2NUM
27# define UIDT2NUM RB_LONG2NUM
28#endif
29
30#ifndef NUM2UIDT
31# define NUM2UIDT RB_NUM2LONG
32#endif
33
34#endif /* RBIMPL_ARITHMETIC_UID_T_H */
config.h
Thin wrapper to ruby/config.h.
long.h
Arithmetic conversion between C's long and Ruby's.