[vlc-commits] python: strip prefixes from struct fieldnames
Olivier Aubert
git at videolan.org
Wed Apr 21 08:08:47 UTC 2021
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Tue Apr 20 20:49:14 2021 +0200| [2368f3dd649e2d6571249946dc2c365177194127] | committer: Olivier Aubert
python: strip prefixes from struct fieldnames
Following the automatic generation of struct mappings, keeping the
original names broke compatibility with previous versions. Remove
prefixes for 3.x versions, and (for the moment) remove them in 4.x
version - since it is a major release - in order to be more consistent
with original libvlc API.
Closes #174
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=2368f3dd649e2d6571249946dc2c365177194127
---
generated/3.0/setup.py | 4 +-
generated/3.0/vlc.py | 160 ++++++++++++++++++++++++-------------------------
generated/dev/vlc.py | 6 +-
generator/generate.py | 11 +++-
tests/test.py | 14 +++--
5 files changed, 104 insertions(+), 91 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commitdiff;h=2368f3dd649e2d6571249946dc2c365177194127
More information about the vlc-commits
mailing list