Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module allows you to query the version of libclang that this library provides bindings for.
- getVersion :: ClangBase m => ClangT s m (ClangString s)
- apiVersion :: (Int, Int)
- encodedAPIVersion :: Int
Documentation
getVersion :: ClangBase m => ClangT s m (ClangString s) Source
Return a version string, suitable for showing to a user, but not intended to be parsed (the format is not guaranteed to be stable). This is the version usually used for libclang packages and public documentation.
apiVersion :: (Int, Int) Source
The API version, in (major, minor) format. This is a semantic version that tracks only the libclang API itself. It's unrelated to the associated LLVM or libclang version.
encodedAPIVersion :: Int Source
The API version, encoded as a single number.