summaryrefslogtreecommitdiff
path: root/man/man3
diff options
context:
space:
mode:
authorAndrius Bentkus <andrius.bentkus@gmail.com>2015-06-25 11:14:00 +0200
committerAndrius Bentkus <andrius.bentkus@gmail.com>2015-06-25 17:31:34 +0200
commit06b355f5a97bd5fb19cfad7e8065d5e8a6c37bce (patch)
tree3b658b774f028c7a0b9962411a4a6a3e21850b42 /man/man3
parent2f945071616d226296068e3c61b6de2e64c813cf (diff)
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
Diffstat (limited to 'man/man3')
-rw-r--r--man/man3/cmark.318
1 files changed, 3 insertions, 15 deletions
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