[vala/staging] gobject-2.0: Add ParamSpecGType
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gobject-2.0: Add ParamSpecGType
- Date: Tue, 27 Mar 2018 08:47:21 +0000 (UTC)
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]