Ruby
2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
|
Go to the source code of this file.
Macros | |
#define | FFI_TYPE_STRUCT_REGS FFI_TYPE_LAST |
Functions | |
void | ffi_call_SYSV (void *rvalue, unsigned rsize, unsigned flags, void(*fn)(void), unsigned nbytes, extended_cif *) |
void | ffi_closure_SYSV (void) |
void | ffi_prep_args (extended_cif *ecif, unsigned char *stack) |
void | ffi_call (ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue) |
void | ffi_trampoline () |
void | ffi_cacheflush (void *start, void *end) |
ffi_status | ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif, void(*fun)(ffi_cif *, void *, void **, void *), void *user_data, void *codeloc) |
long FFI_HIDDEN | ffi_closure_SYSV_inner (ffi_closure *closure, void **values, void *rvalue) |
Referenced by ffi_prep_closure_loc().
Definition at line 190 of file ffi.c.
References ALIGN, alloca, extended_cif::avalue, extended_cif::cif, FFI_ASSERT, ffi_call_SYSV(), FFI_SYSV, memcpy(), NULL, and extended_cif::rvalue.
void ffi_call_SYSV | ( | void * | rvalue, |
unsigned | rsize, | ||
unsigned | flags, | ||
void(*)(void) | fn, | ||
unsigned | nbytes, | ||
extended_cif * | |||
) |
long FFI_HIDDEN ffi_closure_SYSV_inner | ( | ffi_closure * | closure, |
void ** | values, | ||
void * | rvalue | ||
) |
void ffi_prep_args | ( | extended_cif * | ecif, |
unsigned char * | stack | ||
) |
Definition at line 97 of file ffi.c.
References extended_cif::avalue, extended_cif::cif, f, FFI_ASSERT, FFI_REGISTER_NARGS, i, long, memcpy(), ptr, extended_cif::rvalue, size, and v.
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 229 of file ffi.c.
References ffi_cacheflush(), ffi_closure_SYSV(), ffi_trampoline(), FFI_TRAMPOLINE_SIZE, int, and memcpy().
void ffi_trampoline | ( | ) |
Referenced by ffi_prep_closure_loc().