diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2012-06-26 15:56:44 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2012-06-26 15:56:44 (GMT) |
commit | 2a918768f1825d4a1f1e5f11674614c74176aa5d (patch) | |
tree | 0f2162b92f9dd599cbb4880245f00da10c7a80b3 /Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c | |
parent | 13c668229ca819fd0ccb4e6be64ee73f55d2d7f4 (diff) | |
download | cpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.zip cpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.tar.gz cpython-2a918768f1825d4a1f1e5f11674614c74176aa5d.tar.bz2 |
- Issue #15194: Update libffi to the 3.0.11 release.
Diffstat (limited to 'Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c')
-rw-r--r-- | Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c b/Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c index 80dd7ac..3f8bb28 100644 --- a/Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c +++ b/Modules/_ctypes/libffi/testsuite/libffi.call/cls_20byte.c @@ -50,15 +50,15 @@ int main (void) ffi_type cls_struct_type; ffi_type* dbl_arg_types[5]; + struct cls_struct_20byte g_dbl = { 1.0, 2.0, 3 }; + struct cls_struct_20byte f_dbl = { 4.0, 5.0, 7 }; + struct cls_struct_20byte res_dbl; + cls_struct_type.size = 0; cls_struct_type.alignment = 0; cls_struct_type.type = FFI_TYPE_STRUCT; cls_struct_type.elements = cls_struct_fields; - struct cls_struct_20byte g_dbl = { 1.0, 2.0, 3 }; - struct cls_struct_20byte f_dbl = { 4.0, 5.0, 7 }; - struct cls_struct_20byte res_dbl; - cls_struct_fields[0] = &ffi_type_double; cls_struct_fields[1] = &ffi_type_double; cls_struct_fields[2] = &ffi_type_sint; |