[vala/staging] gobject-2.0: Add ParamSpecGType



commit 801f6fa1e01952e8d41d31d057a20d4373dfbe60
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Mar 27 09:41:40 2018 +0200

    gobject-2.0: Add ParamSpecGType

 vapi/gobject-2.0.vapi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index b9a09ad..76dcfd6 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -303,6 +303,12 @@ namespace GLib {
                [CCode (cname = "g_param_spec_float")]
                public ParamSpecFloat (string name, string nick, string blurb, float minimum, float maximum, 
float default_value, GLib.ParamFlags flags);
        }
+       [CCode (type_id = "G_TYPE_PARAM_GTYPE")]
+       public class ParamSpecGType : GLib.ParamSpec {
+               public GLib.Type is_a_type;
+               [CCode (cname = "g_param_spec_gtype")]
+               public ParamSpecGType (string name, string nick, string blurb, GLib.Type is_a_type, 
GLib.ParamFlags flags);
+       }
        [CCode (type_id = "G_TYPE_PARAM_INT")]
        public class ParamSpecInt : GLib.ParamSpec {
                public int default_value;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]