[pypy-commit] cffi default: Support more generally struct-returning functions

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r557:f0cdef5768b5 Date: 2012-06-28 22:13 +0200 http://bitbucket.org/cffi/cffi/changeset/f0cdef5768b5/ Log:Support more generally struct-returning functions (but not callbacks yet). diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi

[pypy-commit] cffi default: Support the baseline case of functions returning structs.

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r556:0ed9b03dd40d Date: 2012-06-28 21:38 +0200 http://bitbucket.org/cffi/cffi/changeset/0ed9b03dd40d/ Log:Support the baseline case of functions returning structs. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_

[pypy-commit] cffi default: typo

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r555:010172483807 Date: 2012-06-28 12:49 +0200 http://bitbucket.org/cffi/cffi/changeset/010172483807/ Log:typo diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -2675,8 +2675,8 @@ Then it w

[pypy-commit] cffi default: Fix: RawFunctionType must not be a superclass of FunctionTypePtr,

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r554:731c6223b465 Date: 2012-06-28 12:46 +0200 http://bitbucket.org/cffi/cffi/changeset/731c6223b465/ Log:Fix: RawFunctionType must not be a superclass of FunctionTypePtr, it creates endless confusion in "isinstance(x, RawFunctionType)". diff --

[pypy-commit] cffi default: Oups.

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r553:64d64bc24a54 Date: 2012-06-28 12:44 +0200 http://bitbucket.org/cffi/cffi/changeset/64d64bc24a54/ Log:Oups. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3438,7 +3438,6 @@ case 7: f = &_t

[pypy-commit] cffi default: Fix the issue by declaring it illegal. See comment in _cffi_backend.c for why.

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r552:3b32cfd7e182 Date: 2012-06-28 12:40 +0200 http://bitbucket.org/cffi/cffi/changeset/3b32cfd7e182/ Log:Fix the issue by declaring it illegal. See comment in _cffi_backend.c for why. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_

[pypy-commit] cffi default: Tweak the test until it fails on 64-bit.

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r551:53a8005f01af Date: 2012-06-28 12:12 +0200 http://bitbucket.org/cffi/cffi/changeset/53a8005f01af/ Log:Tweak the test until it fails on 64-bit. diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/te

[pypy-commit] cffi default: Test and fix: passing structures to functions through ffi.verify()

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r549:1139c2b9f312 Date: 2012-06-28 00:33 +0200 http://bitbucket.org/cffi/cffi/changeset/1139c2b9f312/ Log:Test and fix: passing structures to functions through ffi.verify() diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b

[pypy-commit] cffi default: Test and fix

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r550:045f5bfdd5ea Date: 2012-06-28 00:49 +0200 http://bitbucket.org/cffi/cffi/changeset/045f5bfdd5ea/ Log:Test and fix diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -144,7 +144,8 @@ self._declarat

[pypy-commit] cffi default: An XXX

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r548:7be435b045d5 Date: 2012-06-28 00:24 +0200 http://bitbucket.org/cffi/cffi/changeset/7be435b045d5/ Log:An XXX diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -2665,6 +2665,8 @@ Py_ssize_t

[pypy-commit] cffi default: 'size' is already an int so far in this particular case, but better safe

2012-06-28 Thread arigo
Author: Armin Rigo Branch: Changeset: r547:feeae08768a9 Date: 2012-06-28 00:23 +0200 http://bitbucket.org/cffi/cffi/changeset/feeae08768a9/ Log:'size' is already an int so far in this particular case, but better safe than sorry diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c ---