31 ffi_type *ts2_type_elements[3];
38 ts2_type.alignment = 0;
39 ts2_type.type = FFI_TYPE_STRUCT;
40 ts2_type.elements = ts2_type_elements;
41 ts2_type_elements[0] = &ffi_type_double;
42 ts2_type_elements[1] = &ffi_type_double;
43 ts2_type_elements[2] =
NULL;
57 ffi_call(&cif, FFI_FN(struct2), ts2_result, values);
62 CHECK(ts2_result->
d1 == 5.55 - 1);
63 CHECK(ts2_result->
d2 == 6.66 - 1);