lib: add a function to the ABI version of the libraries
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. One should avoid loading the DLL of a mismatching libvlc major ABI version. Since it's likely to not be usable in the end, it's better not to load it at all. This should also be backported to VLC 3.0.
parent
c8cd58f9
No related branches found
No related tags found
Please register or sign in to comment