Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
intptr_t.h
Go to the documentation of this file.
1#ifndef RBIMPL_ARITHMETIC_INTPTR_T_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_ARITHMETIC_INTPTR_T_H
24
25#ifdef HAVE_STDINT_H
26# include <stdint.h>
27#endif
28
29#include "ruby/internal/value.h"
31
32#define rb_int_new rb_int2inum
33#define rb_uint_new rb_uint2inum
34
41
42#endif /* RBIMPL_ARITHMETIC_INTPTR_T_H */
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
Thin wrapper to ruby/config.h.
VALUE rb_int2inum(intptr_t i)
Definition: bignum.c:3214
VALUE rb_uint2big(uintptr_t i)
Definition: bignum.c:3164
VALUE rb_int2big(intptr_t i)
Definition: bignum.c:3186
VALUE rb_uint2inum(uintptr_t i)
Definition: bignum.c:3207
Defines VALUE and ID.
unsigned long VALUE
Definition: value.h:38
int intptr_t
Definition: win32.h:90
unsigned int uintptr_t
Definition: win32.h:106