intel / intel/hyperscan

Export HS_VERSION in the public include files

Open
#222 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.