From 3ed64d7568437e81a0746554af273faeaf2037b4 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Fri, 23 Jan 2015 21:26:49 +0100 Subject: Let cmake update version Add a new template cmark_version.h.in to generate cmark_version.h containing version information. --- man/man3/cmark.3 | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) (limited to 'man') 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 @@ -544,30 +544,6 @@ Bits 0\-7 contain the patchlevel. .PP In hexadecimal format, the number 0x010203 represents version 1.2.3. -.PP -.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 @@ -578,7 +554,8 @@ extern const char cmark_version_string[]; .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 -- cgit v1.2.3