Ruby
2.4.2p198(2017-09-14revision59899)
|
Go to the source code of this file.
Functions | |
size_t | ffi_raw_size (ffi_cif *cif) |
void | ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) |
void | ffi_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_raw *raw) |
void | ffi_raw_call (ffi_cif *cif, void(*fn)(void), void *rvalue, ffi_raw *raw) |
void ffi_ptrarray_to_raw | ( | ffi_cif * | cif, |
void ** | args, | ||
ffi_raw * | raw | ||
) |
Definition at line 138 of file raw_api.c.
References ALIGN, FFI_SIZEOF_ARG, and memcpy.
Referenced by ffi_raw_call().
void ffi_raw_call | ( | ffi_cif * | cif, |
void(*)(void) | fn, | ||
void * | rvalue, | ||
ffi_raw * | raw | ||
) |
Definition at line 204 of file raw_api.c.
References alloca(), ffi_call(), ffi_prep_closure_loc(), ffi_prep_raw_closure_loc(), ffi_ptrarray_to_raw(), ffi_raw_size(), and ffi_raw_to_ptrarray().
size_t ffi_raw_size | ( | ffi_cif * | cif | ) |
Definition at line 35 of file raw_api.c.
References ALIGN, FFI_SIZEOF_ARG, and result.
Referenced by closure_memsize(), ffi_raw_call(), and function_memsize().
void ffi_raw_to_ptrarray | ( | ffi_cif * | cif, |
ffi_raw * | raw, | ||
void ** | args | ||
) |
Definition at line 57 of file raw_api.c.
References ALIGN, and FFI_SIZEOF_ARG.
Referenced by ffi_raw_call().