Skip to content

gh-97588: Move ctypes struct/union layout logic to Python#123352

Merged
encukou merged 95 commits intopython:mainfrom
encukou:ctypes-pypack
Sep 5, 2024
Merged

gh-97588: Move ctypes struct/union layout logic to Python#123352
encukou merged 95 commits intopython:mainfrom
encukou:ctypes-pypack

Conversation

@encukou
Copy link
Member

@encukou encukou commented Aug 26, 2024

As discussed in #97702, moving this logic to Python should make it easier to fix the various struct layout bugs in ctypes.

This PR should be strictly a refactoring of the code in main, except the _ctypes.CField class can now be instantiated from Python.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants