[vala/0.10] girwriter: Fix fixed-length arrays
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] girwriter: Fix fixed-length arrays
- Date: Tue, 19 Oct 2010 19:02:34 +0000 (UTC)
commit 0b963deb0c49a6faad096c8ce2c7138a38f694e1
Author: Jürg Billeter <j bitron ch>
Date: Sat Oct 16 09:54:03 2010 +0200
girwriter: Fix fixed-length arrays
Fixes bug 631529.
codegen/valagirwriter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index 4890aa6..28bc59e 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -827,7 +827,7 @@ public class Vala.GIRWriter : CodeVisitor {
write_indent ();
buffer.append_printf ("<array");
if (array_type.fixed_length) {
- buffer.append_printf (" fixed-length\"%i\"", array_type.length);
+ buffer.append_printf (" fixed-size=\"%i\"", array_type.length);
} else if (index != -1) {
buffer.append_printf (" length=\"%i\"", index + 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]