[librsvg: 5/9] Document RSVG_CHECK_VERSION
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 5/9] Document RSVG_CHECK_VERSION
- Date: Fri, 18 Sep 2020 20:25:09 +0000 (UTC)
commit ba36277e2a2ba7bd8631506b99a65b4ecd17634d
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Sep 18 15:01:30 2020 -0500
Document RSVG_CHECK_VERSION
librsvg/librsvg-features.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/librsvg/librsvg-features.c b/librsvg/librsvg-features.c
index 165c4e53..b78f2806 100644
--- a/librsvg/librsvg-features.c
+++ b/librsvg/librsvg-features.c
@@ -81,6 +81,22 @@
* @rsvg_version instead.
*/
+/**
+ * LIBRSVG_CHECK_VERSION:
+ * @major: component for the major version to check
+ * @minor: component for the minor version to check
+ * @micro: component for the micro version to check
+ *
+ * This C macro returns #TRUE if the specified version is equal to or
+ * newer than the version of librsvg being compiled against.
+ *
+ * Note that this a compile-time check for C programs. If you want a
+ * run-time check for the version of librsvg being used, or if you are
+ * using another programming language, see the variables
+ * @rsvg_major_version, @rsvg_minor_version, @rsvg_micro_version
+ * instead.
+ */
+
/**
* rsvg_major_version:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]