]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97588: Move ctypes struct/union layout logic to Python (GH-123352)
authorPetr Viktorin <encukou@gmail.com>
Thu, 5 Sep 2024 09:20:07 +0000 (11:20 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Sep 2024 09:20:07 +0000 (11:20 +0200)
commitce9f84a47bfbafedd09a25d0f6f0c8209550fb6c
tree05fded014eb7d5684b8a12c9b70574f4eda4d872
parent1fdfce9452706a8a12ccdacff6d02c9231dc48ce
gh-97588: Move ctypes struct/union layout logic to Python (GH-123352)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
12 files changed:
Include/internal/pycore_global_objects_fini_generated.h
Include/internal/pycore_global_strings.h
Include/internal/pycore_runtime_init_generated.h
Include/internal/pycore_unicodeobject_generated.h
Lib/ctypes/_layout.py [new file with mode: 0644]
Lib/test/test_ctypes/test_bitfields.py
Lib/test/test_ctypes/test_struct_fields.py
Modules/_ctypes/_ctypes.c
Modules/_ctypes/cfield.c
Modules/_ctypes/clinic/cfield.c.h [new file with mode: 0644]
Modules/_ctypes/ctypes.h
Modules/_ctypes/stgdict.c