[vala/0.38] gobject-2.0: Add ParamSpecGType
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.38] gobject-2.0: Add ParamSpecGType
- Date: Wed, 28 Mar 2018 06:58:15 +0000 (UTC)
commit a7296b10a3eea03a676ef338a8fd7cee8a29e874
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 665be78..9263e3e 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -329,6 +329,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]