summaryrefslogtreecommitdiff
path: root/testing/cffi0
Commit message (Collapse)AuthorAgeFilesLines
* fix tuple version and tests to support rcMatt Davis2021-09-211-0/+1
|
* fix setuptools tests for macossetuptools_test_macos_fixMatt Davis2021-09-031-1/+4
|
* fix tests for py.test running on CPython v3.10.0b3Armin Rigo2021-06-201-7/+3
|
* source-only update, to version number 1.14.4-1v1.14.4-1Armin Rigo2020-11-291-1/+6
|
* add missing includememsetMatti Picus2020-11-011-0/+1
|
* Revert 58f2e09a4254 and part of 4a15fb9e4aec: it was fixed in CPython after theArmin Rigo2020-07-281-5/+0
| | | | 3.9b5 release.
* CPython 3.9b5 fixArmin Rigo2020-07-271-0/+5
|
* Check with the real C compilerArmin Rigo2020-07-191-89/+0
|
* Add a hypothesis test. Mostly checks libffi, or our own libffi_msvc on windowsArmin Rigo2020-07-191-0/+89
|
* ctypes on windows doesn't correctly return 3-bytes structsArmin Rigo2020-07-191-0/+2
|
* Extra tests for using a 3-bytes struct as a return typeArmin Rigo2020-07-182-0/+47
|
* on darwin, arm64 bitfields act like x86_64Lawrence D'Anna2020-07-091-2/+12
|
* #454Armin Rigo2020-05-291-0/+41
| | | | Second try with '# NUMBER' instead of '#line NUMBER', as gcc seems to output
* Issue #454Armin Rigo2020-05-261-1/+47
| | | | Try harder to avoid #line directives confuse the rest of pre-parsing
* add missing importmsvcrtMatti Picus2020-04-011-1/+1
|
* support python2 builds with msvc>13Matti Picus2020-04-011-2/+2
|
* Issue #440Armin Rigo2020-01-192-0/+23
| | | | | | Limit the amount of memory that is requested from alloca() for temporary conversion of arguments. Non-small requests are instead handled with PyObject_Malloc() and PyObject_Free().
* Python 3.9 compatArmin Rigo2020-01-071-2/+2
|
* merge branch 'shortername', thanks mattiArmin Rigo2020-01-061-1/+1
|\
| * tweak how to pass define_macros, shorten module name to not go over 260 charsMatti Picus2020-01-051-1/+1
| |
* | Issue #437Armin Rigo2020-01-051-0/+26
|/ | | | Support ffi.dlopen(<void* cdata>). See updated documentation.
* Tweak the '-Wno-*' arguments passed to gcc during testsArmin Rigo2019-11-071-11/+1
|
* Add a warning when we use in cdef() a global variable without also ↵Armin Rigo2019-10-144-44/+48
| | | | specifying a storage class (extern or static)
* Fix C integer division. Add modulo.Armin Rigo2019-04-261-0/+26
|
* merge pull request #96. Thanks Cody!Armin Rigo2019-04-267-51/+175
|\
| * Modernize this, because very recent pytests crash when seeing theArmin Rigo2019-04-191-2/+4
| | | | | | | | old way
| * merge headsArmin Rigo2019-04-024-48/+96
| |\
| | * Fix deprecated uses of pytest.raises()Ronan Lamy2019-03-124-48/+96
| | |
| * | remove useless try/catch, and remove unreachable elif statement.guillaumesottas2019-03-261-4/+1
| | |
| * | add support for long/long long C integer constant suffixes, and supportguillaumesottas2019-03-261-3/+36
| | | | | | | | | | | | for base 2 integer constant as well.
| * | fix #407 add support for u/U suffix in integer constants (eg. 0xABu, or 0xCDU).guillaumesottas2019-03-251-0/+7
| | |
| * | Issue #406: document the failureArmin Rigo2019-03-201-0/+5
| | |
| * | py3.8 fixesArmin Rigo2019-03-161-1/+2
| |/
| * Issue #405Armin Rigo2019-03-111-0/+30
| | | | | | | | Fix for nested struct types that end in a var-sized array
| * skip this test with the ctypes backend, for arm64 / pa-risc 64 / risc-v 64 / ↵Armin Rigo2019-02-141-0/+2
| | | | | | | | sparc 64
* | Add support for more binary ops in enum definitions.Cody Piersall2019-02-021-2/+17
|/
* py3 fixArmin Rigo2019-01-291-1/+1
|
* Backed out changeset 7a76a3815340Armin Rigo2019-01-291-4/+5
| | | | | On Windows, there is no lround() or (as far as I can find) any math function returning an integer.
* Implement ffi.from_buffer("foo[]", x)Armin Rigo2019-01-071-3/+9
| | | | | Also contains some improvements to the documentation about other recent additions
* ffi.release()Armin Rigo2019-01-051-0/+7
|
* Issue #394Armin Rigo2018-12-161-0/+10
| | | | Implement ffi.from_buffer(x, require_writable=True)
* CPython 2.x: ``ffi.dlopen()`` failed with non-ascii file names on PosixArmin Rigo2018-10-141-4/+16
|
* Issue #384Armin Rigo2018-09-191-0/+1
| | | | | Un-ignore the warnings when testing for them, in case someone runs py.test with the PYTHONWARNINGS environment variable set
* Issue #382Armin Rigo2018-09-041-5/+4
| | | | Second fix attempt, thanks Adam
* Issue #382Armin Rigo2018-09-041-4/+5
| | | | | Change the test to a non-floating-point example, where ignoring the return value should work even on x87.
* Issue #379Armin Rigo2018-08-301-0/+15
| | | | Accept ``ffi.new("int[4]", p)`` if p is itself another cdata ``int[4]``.
* Issue #375Armin Rigo2018-08-081-0/+27
| | | | Port another test from CPython, which also passes already on win64.
* Add test from the recent ctypes fix bpo-29565 (may fail on win64)Armin Rigo2018-08-051-0/+27
|
* Issue 364Armin Rigo2018-06-161-9/+29
| | | | Add support for MSVC's "#pragma pack(n)" in ABI mode
* Ignore multiple dlclose(), like file.close() does in PythonArmin Rigo2018-02-271-3/+1
|