22 args[0] = &ffi_type_slong;
23 args[1] = &ffi_type_slong;
28 &ffi_type_slong, args) == FFI_OK);
34 printf(
"res: %ld, %ld\n", (
long)res, l1 - l2);
void ffi_call(ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue)
static long return_sl(long l1, long l2)
ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes)