From 06b355f5a97bd5fb19cfad7e8065d5e8a6c37bce Mon Sep 17 00:00:00 2001 From: Andrius Bentkus Date: Thu, 25 Jun 2015 11:14:00 +0200 Subject: Changed version variables to functions. This is easier to access using ffi, since some languages, like C# like to use only function interfaces for accessing library functionality. fixes #60 --- man/man3/cmark.3 | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'man') diff --git a/man/man3/cmark.3 b/man/man3/cmark.3 index aa254b0..6edac7b 100644 --- a/man/man3/cmark.3 +++ b/man/man3/cmark.3 @@ -1,4 +1,4 @@ -.TH cmark 3 "June 16, 2015" "LOCAL" "Library Functions Manual" +.TH cmark 3 "June 25, 2015" "LOCAL" "Library Functions Manual" .SH NAME .PP @@ -556,13 +556,7 @@ sequences with the replacement character U+FFFD. Version information .PP -.nf -\fC -.RS 0n -extern const int cmark_version; -.RE -\f[] -.fi +\fIint\f[] \fBcmark_version\f[](\fI\f[]) .PP The library version as integer for runtime checks. Also available as @@ -577,13 +571,7 @@ Bits 0\-7 contain the patchlevel. In hexadecimal format, the number 0x010203 represents version 1.2.3. .PP -.nf -\fC -.RS 0n -extern const char cmark_version_string[]; -.RE -\f[] -.fi +\fIconst char *\f[] \fBcmark_version_string\f[](\fI\f[]) .PP The library version string for runtime checks. Also available as -- cgit v1.2.3