[glib/mjog/2104-short-gtypes: 1/7] gtype: Add G_TYPE_SHORT and G_TYPE_USHORT fundamental types
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/mjog/2104-short-gtypes: 1/7] gtype: Add G_TYPE_SHORT and G_TYPE_USHORT fundamental types
- Date: Mon, 11 May 2020 11:37:53 +0000 (UTC)
commit 79ff14eed10c074bf2e6f5adef8d2d8cea0ab8ee
Author: Michael Gratton <mike vee net>
Date: Mon May 11 20:58:24 2020 +1000
gtype: Add G_TYPE_SHORT and G_TYPE_USHORT fundamental types
gobject/gtype.h | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 479b405e9..bb644d6a1 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -194,6 +194,22 @@ G_BEGIN_DECLS
* Since: 2.26
*/
#define G_TYPE_VARIANT G_TYPE_MAKE_FUNDAMENTAL (21)
+/**
+ * G_TYPE_SHORT:
+ *
+ * The fundamental type corresponding to #gshort.
+ *
+ * Since: 2.66
+ */
+#define G_TYPE_SHORT G_TYPE_MAKE_FUNDAMENTAL (22)
+/**
+ * G_TYPE_USHORT:
+ *
+ * The fundamental type corresponding to #gushort.
+ *
+ * Since: 2.66
+ */
+#define G_TYPE_USHORT G_TYPE_MAKE_FUNDAMENTAL (23)
/* Reserved fundamental type numbers to create new fundamental
@@ -225,7 +241,7 @@ G_BEGIN_DECLS
* First fundamental type number to create a new fundamental type id with
* G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.
*/
-#define G_TYPE_RESERVED_GLIB_FIRST (22)
+#define G_TYPE_RESERVED_GLIB_FIRST (24)
/**
* G_TYPE_RESERVED_GLIB_LAST:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]