Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Go to the source code of this file.
Macros | |
#define | MAX_GPRARGS 5 |
#define | MAX_FPRARGS 2 |
#define | ROUND_SIZE(size) (((size) + 15) & ~15) |
#define | FFI390_RET_VOID 0 |
#define | FFI390_RET_STRUCT 1 |
#define | FFI390_RET_FLOAT 2 |
#define | FFI390_RET_DOUBLE 3 |
#define | FFI390_RET_INT32 4 |
#define | FFI390_RET_INT64 5 |
Functions | |
void | __attribute__ ((visibility("hidden"))) |
ffi_status | ffi_prep_cif_machdep (ffi_cif *cif) |
void | ffi_call (ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue) |
void | ffi_closure_helper_SYSV (ffi_closure *closure, unsigned long *p_gpr, unsigned long long *p_fpr, unsigned long *p_ov) |
ffi_status | ffi_prep_closure_loc (ffi_closure *closure, ffi_cif *cif, void(*fun)(ffi_cif *, void *, void **, void *), void *user_data, void *codeloc) |
void ffi_call | ( | ffi_cif * | cif, |
void(*)(void) | fn, | ||
void * | rvalue, | ||
void ** | avalue | ||
) |
Definition at line 508 of file ffi.c.
References alloca, extended_cif::avalue, extended_cif::cif, FFI390_RET_STRUCT, FFI390_RET_VOID, FFI_ASSERT, ffi_call_SYSV(), ffi_prep_args(), FFI_SYSV, NULL, and extended_cif::rvalue.
void ffi_closure_helper_SYSV | ( | ffi_closure * | closure, |
unsigned long * | p_gpr, | ||
unsigned long long * | p_fpr, | ||
unsigned long * | p_ov | ||
) |
Definition at line 553 of file ffi.c.
References alloca, FFI390_RET_STRUCT, FFI_ASSERT, FFI_TYPE_LONGDOUBLE, long(), MAX_FPRARGS, MAX_GPRARGS, and ptr.
ffi_status ffi_prep_cif_machdep | ( | ffi_cif * | cif | ) |
Definition at line 343 of file ffi.c.
References FFI390_RET_DOUBLE, FFI390_RET_FLOAT, FFI390_RET_INT32, FFI390_RET_INT64, FFI390_RET_STRUCT, FFI390_RET_VOID, FFI_ASSERT, FFI_TYPE_LONGDOUBLE, RIMemo::flags, MAX_FPRARGS, MAX_GPRARGS, ptr, and ROUND_SIZE.
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 758 of file ffi.c.
References ffi_closure_SYSV(), FFI_SYSV, and long().