From: Jürg Billeter Date: Sun, 14 Dec 2008 23:07:12 +0000 (+0000) Subject: Support GLib.Type as generic type argument X-Git-Tag: VALA_0_5_3~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d75dde4be14e81578c8aae054637e39535acff1d;p=thirdparty%2Fvala.git Support GLib.Type as generic type argument 2008-12-15 Jürg Billeter * gobject/valaccodebasemodule.vala: Support GLib.Type as generic type argument svn path=/trunk/; revision=2149 --- diff --git a/ChangeLog b/ChangeLog index 0dba23321..43278472f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-12-15 Jürg Billeter + + * gobject/valaccodebasemodule.vala: + + Support GLib.Type as generic type argument + 2008-12-14 Jürg Billeter * gobject/valaccodebasemodule.vala: diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala index d25b04ccb..40ceed6fb 100644 --- a/gobject/valaccodebasemodule.vala +++ b/gobject/valaccodebasemodule.vala @@ -2485,6 +2485,8 @@ public class Vala.CCodeBaseModule : CCodeModule { return true; } else if (st == int32_type.data_type) { return true; + } else if (st == gtype_type) { + return true; } else { return false; }