Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement request: provide version information in header file #704

Open
check-switch-26 opened this issue Dec 8, 2021 · 2 comments
Open

Comments

@check-switch-26
Copy link

It is useful to be able to query the version number at compile time - particularly to accommodate differences in the API between versions. (I note that many other libraries provide the same; e.g., FFmpeg, OpenCV, zlib, etc.)

Please consider adding #defines major/minor/revision info in b2_settings.h

@erincatto
Copy link
Owner

Please see extern B2_API b2Version b2_version; in b2_common.h

@check-switch-26
Copy link
Author

check-switch-26 commented Dec 31, 2021 via email

@erincatto erincatto reopened this Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants