Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
|
Go to the source code of this file.
Macros | |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
unsigned int | ffi_prep_args (char *stack, extended_cif *ecif) |
ffi_status | ffi_prep_cif_machdep (ffi_cif *cif) |
void | ffi_call_SYSV (void(*fn)(void), extended_cif *, unsigned, unsigned, double *) |
void | ffi_call (ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue) |
void | ffi_closure_SYSV (ffi_closure *) |
void | ffi_init_trampoline (unsigned char *__tramp, unsigned int __fun, unsigned int __ctx) |
ffi_status | ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif, void(*fun)(ffi_cif *, void *, void **, void *), void *user_data, void *codeloc) |
unsigned int | ffi_closure_SYSV_inner (ffi_closure *closure, void **respp, void *args, void *vfp_args) |
Variables | |
unsigned int | ffi_metag_trampoline [10] |
Definition at line 173 of file ffi.c.
References alloca, extended_cif::avalue, extended_cif::cif, FFI_ASSERT, ffi_call_SYSV(), FFI_SYSV, memcpy(), NULL, and extended_cif::rvalue.
Definition at line 227 of file ffi.c.
References ffi_metag_trampoline, and memcpy().
Referenced by ffi_prep_closure_loc().
unsigned int ffi_prep_args | ( | char * | stack, |
extended_cif * | ecif | ||
) |
Definition at line 37 of file ffi.c.
References ALIGN, ALIGN_DOWN, extended_cif::avalue, extended_cif::cif, FFI_ASSERT, i, int, memcpy(), MIN, and extended_cif::rvalue.
ffi_status ffi_prep_cif_machdep | ( | ffi_cif * | cif | ) |
ffi_status ffi_prep_closure_loc | ( | ffi_closure * | closure, |
ffi_cif * | cif, | ||
void(*)(ffi_cif *, void *, void **, void *) | fun, | ||
void * | user_data, | ||
void * | codeloc | ||
) |
Definition at line 241 of file ffi.c.
References ffi_closure_SYSV(), ffi_init_trampoline(), FFI_SYSV, NULL, and void.
Referenced by ffi_init_trampoline().