[json-glib/doc-check: 1/2] doc: Add missing symbol
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib/doc-check: 1/2] doc: Add missing symbol
- Date: Fri, 11 Jun 2021 13:15:21 +0000 (UTC)
commit e9775af6c93dc6137ecdf43f01d88cc628cfebce
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Jun 11 13:57:38 2021 +0100
doc: Add missing symbol
json-glib/json-version.h.in | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/json-glib/json-version.h.in b/json-glib/json-version.h.in
index 3bd3490..65c343e 100644
--- a/json-glib/json-version.h.in
+++ b/json-glib/json-version.h.in
@@ -64,6 +64,15 @@
*/
#define JSON_VERSION_S "@JSON_VERSION@"
+/**
+ * JSON_ENCODE_VERSION:
+ * @major: (type int): the major version to encode
+ * @minor: (type int): the minor version to encode
+ * @micro: (type int): the micro version to encode
+ *
+ * Encodes a JSON-GLib version in an hexadecimal number, useful for
+ * integer comparisons.
+ */
#define JSON_ENCODE_VERSION(major,minor,micro) \
((major) << 24 | (minor) << 16 | (micro) << 8)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]