From: Ali Sabil Date: Tue, 31 Mar 2009 16:02:48 +0000 (+0200) Subject: Declare typeof() operand types X-Git-Tag: 0.7.0~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a9f62ec3c0d98768cbaf597cf3c26795f3adf6;p=thirdparty%2Fvala.git Declare typeof() operand types --- diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala index 8c777ab2c..2539df791 100644 --- a/gobject/valaccodebasemodule.vala +++ b/gobject/valaccodebasemodule.vala @@ -1642,6 +1642,8 @@ internal class Vala.CCodeBaseModule : CCodeModule { string type_id = type.get_type_id (); if (type_id == null) { type_id = "G_TYPE_INVALID"; + } else { + generate_type_declaration (type, source_declarations); } return new CCodeIdentifier (type_id); }