Export HS_VERSION in the public include files
Open
- Dominant language
- C++
- Stars
- 5.5k
- Forks
- 816
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 2
Description
Hello, I'm asking if it is possible to include the Hyperscan version define somewhere in the public headers?
This information is essential if using of the new API function (in particular, I was thinking about hs_lit* functions). In theory, this could be checked on a configure stage by some CMake test in my case, but that would make it much more expensive as I would need to link C++ library during configure phase.
Having HS_VERSION macros will resolve this issue and this is the common technique used by many libraries.
Contributor guide
Assessment
This issue has not been assessed yet.