21 args[0] = &ffi_type_float;
26 &ffi_type_float, args) == FFI_OK);
28 for (fl = -127.0; fl < 127; fl++)
31 printf (
"%f vs %f\n", rfl,
return_fl(fl));
void ffi_call(ffi_cif *cif, void(*fn)(void), void *rvalue, void **avalue)
static float return_fl(float fl)
ffi_status ffi_prep_cif(ffi_cif *cif, ffi_abi abi, unsigned int nargs, ffi_type *rtype, ffi_type **atypes)