[vala] Declare typeof() operand types
- From: Ali Sabil <asabil src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Declare typeof() operand types
- Date: Tue, 31 Mar 2009 14:02:27 -0400 (EDT)
commit 82a9f62ec3c0d98768cbaf597cf3c26795f3adf6
Author: Ali Sabil <ali sabil gmail com>
Date: Tue Mar 31 18:02:48 2009 +0200
Declare typeof() operand types
---
gobject/valaccodebasemodule.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala
index 8c777ab..2539df7 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]