pmdk
pmdk copied to clipboard
FEAT: Get more info about library version/build via xxx_check_version()
Instead of a simple check if required API version matches the actual library API version, xxx_check_version()
functions could provide more information about the library. I.e. it could be used to retrieve the source version (tag/commit), whether it is debug/nondebug build, was the library compiled with Valgrind support enabled, etc.
All this data could be compiled into a static string that is returned in case of a call to xxx_check_version()
with major/minor version number set to 0.
Can we extend the log header with more information?