Ruby  2.4.2p198(2017-09-14revision59899)
Macros | Functions
ffi.c File Reference
#include <ffi.h>
#include <ffi_common.h>
#include <stdlib.h>
#include <sys/cachectl.h>
Include dependency graph for ffi.c:

Go to the source code of this file.

Macros

#define FFI_MIPS_STOP_HERE()   do {} while(0)
 
#define FIX_ARGP
 

Functions

static void ffi_prep_args (char *stack, extended_cif *ecif, int bytes, int flags)
 
ffi_status ffi_prep_cif_machdep (ffi_cif *cif)
 
int ffi_call_O32 (void(*)(char *, extended_cif *, int, int), extended_cif *, unsigned, unsigned, unsigned *, void(*)(void))
 
int ffi_call_N32 (void(*)(char *, extended_cif *, int, int), extended_cif *, unsigned, unsigned, void *, void(*)(void))
 
void ffi_call (ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue)
 

Macro Definition Documentation

◆ FFI_MIPS_STOP_HERE

#define FFI_MIPS_STOP_HERE ( )    do {} while(0)

Definition at line 51 of file ffi.c.

◆ FIX_ARGP

#define FIX_ARGP

Definition at line 63 of file ffi.c.

Referenced by ffi_prep_args().

Function Documentation

◆ ffi_call()

void ffi_call ( ffi_cif *  cif,
void(*)(void)  fn,
void *  rvalue,
void **  avalue 
)

◆ ffi_call_N32()

int ffi_call_N32 ( void(*)(char *, extended_cif *, int, int)  ,
extended_cif ,
unsigned  ,
unsigned  ,
void *  ,
void(*)(void)   
)

Referenced by ffi_call(), and ffi_prep_cif_machdep().

◆ ffi_call_O32()

int ffi_call_O32 ( void(*)(char *, extended_cif *, int, int)  ,
extended_cif ,
unsigned  ,
unsigned  ,
unsigned *  ,
void(*)(void)   
)

Referenced by ffi_call(), and ffi_prep_cif_machdep().

◆ ffi_prep_args()

static void ffi_prep_args ( char *  stack,
extended_cif ecif,
int  bytes,
int  flags 
)
static

◆ ffi_prep_cif_machdep()

ffi_status ffi_prep_cif_machdep ( ffi_cif *  cif)