[vala/0.36: 201/212] gobject-2.0: Add ParamSpecGType



commit 56283f11f55122414549f548672f5bece9da4ad7
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 a72767d..9d85c9a 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -321,6 +321,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]