[vala/0.34] gobject-2.0: Add ParamSpecGType
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.34] gobject-2.0: Add ParamSpecGType
- Date: Mon, 16 Apr 2018 20:01:31 +0000 (UTC)
commit 1940926f4ef24ab1aa9ddba009a63aa69bc49683
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 2667170..6fb7b30 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]