Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Macros | Functions
prep_cif.c File Reference
#include <ffi.h>
#include <ffi_common.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define STACK_ARG_SIZE(x)   ALIGN(x, FFI_SIZEOF_ARG)
 

Functions

ffi_status FFI_HIDDEN ffi_prep_cif_core (ffi_cif *cif, ffi_abi abi, unsigned int isvariadic, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes)
 
ffi_status ffi_prep_cif (ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes)
 
ffi_status ffi_prep_cif_var (ffi_cif *cif, ffi_abi abi, unsigned int nfixedargs, unsigned int ntotalargs, ffi_type *rtype, ffi_type **atypes)
 

Macro Definition Documentation

◆ STACK_ARG_SIZE

#define STACK_ARG_SIZE (   x)    ALIGN(x, FFI_SIZEOF_ARG)

Definition at line 32 of file prep_cif.c.

Function Documentation

◆ ffi_prep_cif()

ffi_status ffi_prep_cif ( ffi_cif *  cif,
ffi_abi  abi,
unsigned int  nargs,
ffi_type *  rtype,
ffi_type **  atypes 
)

Definition at line 226 of file prep_cif.c.

References ffi_prep_cif_core().

Referenced by main().

◆ ffi_prep_cif_core()

ffi_status FFI_HIDDEN ffi_prep_cif_core ( ffi_cif *  cif,
ffi_abi  abi,
unsigned int  isvariadic,
unsigned int  nfixedargs,
unsigned int  ntotalargs,
ffi_type *  rtype,
ffi_type **  atypes 
)

◆ ffi_prep_cif_var()

ffi_status ffi_prep_cif_var ( ffi_cif *  cif,
ffi_abi  abi,
unsigned int  nfixedargs,
unsigned int  ntotalargs,
ffi_type *  rtype,
ffi_type **  atypes 
)

Definition at line 232 of file prep_cif.c.

References ffi_prep_cif_core().

Referenced by main().