PySDL2 0.9.12
It's time for another PySDL2 release! Most of the changes since 0.9.11 are bugfixes, but this new release also adds bindings for new SDL2 functions added in 2.0.22 as well as a stable API for accessing the raw ctypes function objects for SDL2 functions.
In future releases of PySDL2, I hope to replace the direct ctypes bindings for SDL2 functions with thin Python function wrappers around the ctypes bindings, allowing for kwargs support, much improved IDE integration, inline documentation, and more. For edge-case projects that need to use the ctypes function objects directly, the new API adds a _ctypes
object in each module that exposes the ctypes object for each bindings as an attribute (e.g. sdlttf._ctypes.TTF_Linked_Version
).
Changelog
- Added bindings for new functions and constants introduced in SDL2 2.0.22
- Added a stable API for accessing the raw ctypes function objects for SDL2 functions
- Various bugfixes (see the project's
news.rst
for more info)