[vala] Declare base types of pointer types
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Declare base types of pointer types
- Date: Fri, 10 Apr 2009 11:11:04 -0400 (EDT)
commit fd4d6c70ce2150abd6e7f72063312a6c74689bda
Author: Jürg Billeter <j bitron ch>
Date: Fri Apr 10 17:09:53 2009 +0200
Declare base types of pointer types
---
gobject/valaccodebasemodule.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gobject/valaccodebasemodule.vala b/gobject/valaccodebasemodule.vala
index a4e5506..b5d9c30 100644
--- a/gobject/valaccodebasemodule.vala
+++ b/gobject/valaccodebasemodule.vala
@@ -1095,6 +1095,9 @@ internal class Vala.CCodeBaseModule : CCodeModule {
if (error_type.error_domain != null) {
generate_error_domain_declaration (error_type.error_domain, decl_space);
}
+ } else if (type is PointerType) {
+ var pointer_type = (PointerType) type;
+ generate_type_declaration (pointer_type.base_type, decl_space);
}
foreach (DataType type_arg in type.get_type_arguments ()) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]