~ubuntu-branches/ubuntu/saucy/python2.7/saucy-updates

« back to all changes in this revision

Viewing changes to Modules/_ctypes/libffi/testsuite/libffi.call/cls_4byte.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-03-23 19:56:03 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20130323195603-ftu05fam0tvkpkro
Tags: 2.7.4~rc1-0ubuntu1
* Python 2.7.4 release candidate 1.
  - Issue #10211: Buffer objects expose the new buffer interface internally.
  - Issue #10212: cStringIO and struct.unpack support new buffer objects.
  - Issue #12098: multiprocessing on Windows now starts child processes
    using the same sys.flags as the current process.
  - Issue #8862: Fixed curses cleanup when getkey is interrputed by a signal.
  - Issue #9090: When a socket with a timeout fails with EWOULDBLOCK or
    EAGAIN, retry the select() loop instead of bailing out.
  - Issue #1285086: Get rid of the refcounting hack and speed up
    urllib.unquote().
  - Issue #17368: Fix an off-by-one error in the Python JSON decoder
    that caused a failure while decoding empty object literals when
    object_pairs_hook was specified.
  - Issue #17477: Update the bsddb module to pybsddb 5.3.0, supporting
    db-5.x, and dropping support for db-4.1 and db-4.2.
  - Issue #17192: Update the ctypes module's libffi to v3.0.13.  This
    specifically addresses a stack misalignment issue on x86 and issues on
    some more recent platforms.
  - Issue #11420: make test suite pass with -B/DONTWRITEBYTECODE set.
  - Issue #17299: Add test coverage for cPickle with file objects
    and general IO objects.
  - Issue #11963: remove human verification from test_parser and
    test_subprocess.
  - Issue #16004: Add `make touch`.
  - Issue #17047: remove doubled words in docs and docstrings
* Rework the sysconfigdata patch into something upstreamable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
  ffi_type cls_struct_type;
51
51
  ffi_type* dbl_arg_types[5];
52
52
 
 
53
  struct cls_struct_4byte g_dbl = { 127, 120 };
 
54
  struct cls_struct_4byte f_dbl = { 12, 128 };
 
55
  struct cls_struct_4byte res_dbl;
 
56
 
53
57
  cls_struct_type.size = 0;
54
58
  cls_struct_type.alignment = 0;
55
59
  cls_struct_type.type = FFI_TYPE_STRUCT;
56
60
  cls_struct_type.elements = cls_struct_fields;
57
61
 
58
 
  struct cls_struct_4byte g_dbl = { 127, 120 };
59
 
  struct cls_struct_4byte f_dbl = { 12, 128 };
60
 
  struct cls_struct_4byte res_dbl;
61
 
 
62
62
  cls_struct_fields[0] = &ffi_type_ushort;
63
63
  cls_struct_fields[1] = &ffi_type_ushort;
64
64
  cls_struct_fields[2] = NULL;