lib: add a function to read the ABI version of the libvlc
For users of libvlc with manual DLL loading (especially languages not compatible with C that have to recode the access to the libvlc DLL) it is important to know the ABI version of the DLL, in case of API/ABI changes the wrapper need to be updated and know when the provided DLL package matches or not. This is especially critical for VLC 4.0 which has not changed version in 4 years and yet the libvlc API keeps changing.
This is similar to the versions of libavcodec/libavformat/etc. When the API is changed the version values should be updated as well, and hopefully documented as well.
This should also be backported to VLC 3.0.
Draft on top of !2883 (merged)
Merge request reports
Activity
changed milestone to %4.0
added Component::Bindings: LibVLC (native API) label
added MRStatus::Reviewable label
- Resolved by Steve Lhomme
added MRStatus::InReview label and removed MRStatus::Reviewable label
added 4 commits
Toggle commit listadded MRStatus::NotCompliant label and removed MRStatus::InReview label
added 1 commit
- 004c8ff2 - lib: add a function to the ABI version of the libraries
added MRStatus::InReview label and removed MRStatus::NotCompliant label
- Resolved by Rémi Denis-Courmont
The ABI must be matched before the runtime library is loaded. After symbols have been added to the runtime linker namespace and constructor functions have run, is too late.
That's why we use different file names already for that purpose (at least on Linux and FreeBSD).
Those version numbers already exist. They're in
lib/Makefile.am
, IIRC.
added MRStatus::NotCompliant label and removed MRStatus::InReview label
mentioned in merge request !2869 (closed)
added 1 commit
- aedaad90 - libvlc: always include the libvlc version header from vlc.h
- Resolved by Steve Lhomme
mentioned in merge request !2883 (merged)