Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- pattern VERSION :: Text
- pattern MINOR_VERSION :: Int32
- pattern MICRO_VERSION :: Int32
- pattern MAJOR_VERSION :: Int32
Documentation
pattern VERSION :: Text Source #
This is a C macro that expands to a string with the version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, this macro expands to
"2.3.4"
.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_version
instead.
pattern MINOR_VERSION :: Int32 Source #
This is a C macro that expands to a number with the minor version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the minor version is 3.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_minor_version
instead.
pattern MICRO_VERSION :: Int32 Source #
This is a C macro that expands to a number with the micro version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the micro version is 4.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_micro_version
instead.
pattern MAJOR_VERSION :: Int32 Source #
This is a C macro that expands to a number with the major version of librsvg against which your program is compiled.
For example, for librsvg-2.3.4, the major version is 2.
C programs can use this as a compile-time check for the required version, but note that generally it is a better idea to do compile-time checks by calling pkg-config in your build scripts.
Note: for a run-time check on the version of librsvg that your
program is running with (e.g. the version which the linker used for
your program), or for programs not written in C, use
rsvg_major_version
instead.