Add docs for librsvg_version and associated variables

parent c3a51aa1
......@@ -93,5 +93,8 @@ LIBRSVG_CHECK_VERSION
LIBRSVG_HAVE_SVGZ
LIBRSVG_HAVE_CSS
LIBRSVG_CHECK_FEATURE
librsvg_major_version
librsvg_minor_version
librsvg_micro_version
librsvg_version
</SECTION>
#include "rsvg.h"
/* General initialization hooks */
/**
* librsvg_major_version:
*
* Major version of the library. For example, for version 2.3.4, the major
* version will be 2.
*/
const guint librsvg_major_version = LIBRSVG_MAJOR_VERSION;
/**
* librsvg_minor_version:
*
* Minor version of the library. For example, for version 2.3.4, the minor
* version will be 3.
*/
const guint librsvg_minor_version = LIBRSVG_MINOR_VERSION;
/**
* librsvg_micro_version:
*
* Micro version of the library. For example, for version 2.3.4, the micro
* version will be 4.
*/
const guint librsvg_micro_version = LIBRSVG_MICRO_VERSION;
/**
* librsvg_version:
*
* String with the library version. For example, "<literal>2.3.4</literal>".
*/
const char librsvg_version[] = LIBRSVG_VERSION;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment