1#ifndef RBIMPL_ARITHMETIC_OFF_T_H
2#define RBIMPL_ARITHMETIC_OFF_T_H
31#elif SIZEOF_OFF_T == SIZEOF_LONG_LONG
32# define OFFT2NUM RB_LL2NUM
33#elif SIZEOF_OFF_T == SIZEOF_LONG
34# define OFFT2NUM RB_LONG2NUM
36# define OFFT2NUM RB_INT2NUM
41#elif SIZEOF_OFF_T == SIZEOF_LONG_LONG
42# define NUM2OFFT RB_NUM2LL
43#elif SIZEOF_OFF_T == SIZEOF_LONG
44# define NUM2OFFT RB_NUM2LONG
46# define NUM2OFFT RB_NUM2INT
Thin wrapper to ruby/config.h.
Arithmetic conversion between C's int and Ruby's.
Arithmetic conversion between C's long long and Ruby's.
Arithmetic conversion between C's long and Ruby's.