Ruby
2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
|
Go to the documentation of this file.
13 #define rb_ffi_type_of(t) (signed_p ? &ffi_type_s##t : &ffi_type_u##t)
19 return &ffi_type_pointer;
33 return &ffi_type_float;
35 return &ffi_type_double;
39 return &ffi_type_pointer;
126 return LL2NUM(retval.slong_long);
127 case -TYPE_LONG_LONG:
128 return ULL2NUM(retval.ulong_long);
VALUE generic_to_value(VALUE rettype, fiddle_generic retval)
void value_to_generic(int type, VALUE src, fiddle_generic *dst)
VALUE rb_Integer(VALUE)
Equivalent to Kernel#Integer in Ruby.
void rb_raise(VALUE exc, const char *fmt,...)
ffi_type * int_to_ffi_type(int type)
const ffi_type ffi_type_void
#define rb_ffi_type_of(t)
VALUE type(ANYARGS)
ANYARGS-ed function type.
VALUE rb_const_get(VALUE, ID)