[vala] dova: Fix inline allocated array fields in instances
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] dova: Fix inline allocated array fields in instances
- Date: Sun, 11 Jul 2010 20:03:53 +0000 (UTC)
commit 4e0c4c1be64c1e79d8b403a44e9aa77f775cf58a
Author: Jürg Billeter <j bitron ch>
Date: Sun Jul 11 22:03:09 2010 +0200
dova: Fix inline allocated array fields in instances
codegen/valadovaobjectmodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valadovaobjectmodule.vala b/codegen/valadovaobjectmodule.vala
index 35aadc5..15314ac 100644
--- a/codegen/valadovaobjectmodule.vala
+++ b/codegen/valadovaobjectmodule.vala
@@ -127,7 +127,7 @@ internal class Vala.DovaObjectModule : DovaArrayModule {
field_ctype = "volatile " + field_ctype;
}
- instance_priv_struct.add_field (field_ctype, f.get_cname ());
+ instance_priv_struct.add_field (field_ctype, f.get_cname () + f.field_type.get_cdeclarator_suffix ());
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]