Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions
conversions.c File Reference
#include <fiddle.h>

Go to the source code of this file.

Macros

#define rb_ffi_type_of(t)   (signed_p ? &ffi_type_s##t : &ffi_type_u##t)
 

Functions

ffi_type * int_to_ffi_type (int type)
 
void value_to_generic (int type, VALUE src, fiddle_generic *dst)
 
VALUE generic_to_value (VALUE rettype, fiddle_generic retval)
 

Macro Definition Documentation

◆ rb_ffi_type_of

#define rb_ffi_type_of (   t)    (signed_p ? &ffi_type_s##t : &ffi_type_u##t)

Referenced by int_to_ffi_type().

Function Documentation

◆ generic_to_value()

VALUE generic_to_value ( VALUE  rettype,
fiddle_generic  retval 
)

◆ int_to_ffi_type()

ffi_type* int_to_ffi_type ( int  type)

◆ value_to_generic()

void value_to_generic ( int  type,
VALUE  src,
fiddle_generic dst 
)