10static long long return_ll(
int ll0,
long long ll1,
int ll2)
12 return ll0 + ll1 + ll2;
24 args[0] = &ffi_type_sint;
25 args[1] = &ffi_type_sint64;
26 args[2] = &ffi_type_sint;
33 &ffi_type_sint64, args) == FFI_OK);
36 ll1 = 11111111111000LL;
39 ffi_call(&cif, FFI_FN(return_ll), &rlonglong, values);
void ffi_call(ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue)
ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes)