diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2015-01-23 21:26:49 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2015-01-23 21:26:49 +0100 |
commit | 3ed64d7568437e81a0746554af273faeaf2037b4 (patch) | |
tree | be35e33a616a8f0bd117045aa960ed9077f7bd38 /man | |
parent | 3248801a925449644071671dcd85e370303071b4 (diff) |
Let cmake update version
Add a new template cmark_version.h.in to generate cmark_version.h
containing version information.
Diffstat (limited to 'man')
-rw-r--r-- | man/man3/cmark.3 | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index f03a3ae..4b24391 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -527,14 +527,14 @@ Version information .nf \fC .RS 0n -#define CMARK_VERSION 0x000100 +extern const int cmark_version; .RE \f[] .fi .PP -Macro containing the library version as integer for compile time -checks. +The library version as integer for runtime checks. Also available as +macro CMARK_VERSION for compile time checks. .IP \[bu] 2 Bits 16\-23 contain the major version. .IP \[bu] 2 @@ -548,37 +548,14 @@ In hexadecimal format, the number 0x010203 represents version 1.2.3. .nf \fC .RS 0n -#define CMARK_VERSION_STRING "0.1.0" -.RE -\f[] -.fi - -.PP -Macro containing the library version string for compile time checks. - -.PP -.nf -\fC -.RS 0n -extern const int cmark_version; -.RE -\f[] -.fi - -.PP -The library version as integer for runtime checks. - -.PP -.nf -\fC -.RS 0n extern const char cmark_version_string[]; .RE \f[] .fi .PP -The library version string for runtime checks. +The library version string for runtime checks. Also available as +macro CMARK_VERSION_STRING for compile time checks. .SH AUTHORS |