slang::VersionInfo class

Provides access to compile-time generated version info about the library.

Public static functions

static int getMajor()
Gets the major version number of the library.
static int getMinor()
Gets the minor version number of the library.
static int getPatch()
Gets the patch version number of the library.
static std::string_view getHash()
Gets a string describing the git hash of the library.