summaryrefslogtreecommitdiffstats
path: root/Python/legacy_tracing.c
diff options
context:
space:
mode:
authorDiego Russo <diego.russo@arm.com>2023-12-05 15:07:50 (GMT)
committerGitHub <noreply@github.com>2023-12-05 15:07:50 (GMT)
commitbc68f4a4abcfbea60bb1db1ccadb07613561931c (patch)
tree33433b1b17d0871f69594a60da419ff2276fb7d1 /Python/legacy_tracing.c
parente7e1116a781434763c309b55a31204a98237f7b4 (diff)
downloadcpython-bc68f4a4abcfbea60bb1db1ccadb07613561931c.zip
cpython-bc68f4a4abcfbea60bb1db1ccadb07613561931c.tar.gz
cpython-bc68f4a4abcfbea60bb1db1ccadb07613561931c.tar.bz2
gh-110190: Fix ctypes structs with array on Arm (#112604)
Set MAX_STRUCT_SIZE to 32 in stgdict.c when on Arm platforms. This because on Arm platforms structs with at most 4 elements of any floating point type values can be passed through registers. If the type is double the maximum size of the struct is 32 bytes. On x86-64 Linux, it's maximum 16 bytes hence we need to differentiate.
Diffstat (limited to 'Python/legacy_tracing.c')
0 files changed, 0 insertions, 0 deletions