[vala/0.10] Fix null-terminated array parameters in signals
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] Fix null-terminated array parameters in signals
- Date: Sat, 12 Mar 2011 15:11:14 +0000 (UTC)
commit 22edf29fed077fbb23dcab2f5238c3b0860bba52
Author: Jürg Billeter <j bitron ch>
Date: Mon Feb 7 22:36:13 2011 +0100
Fix null-terminated array parameters in signals
Fixes bug 641715.
vala/valaformalparameter.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vala/valaformalparameter.vala b/vala/valaformalparameter.vala
index 7c0cf57..42ede83 100644
--- a/vala/valaformalparameter.vala
+++ b/vala/valaformalparameter.vala
@@ -1,6 +1,6 @@
/* valaformalparameter.vala
*
- * Copyright (C) 2006-2010 Jürg Billeter
+ * Copyright (C) 2006-2011 Jürg Billeter
* Copyright (C) 2006-2008 Raffaele Sandrini
*
* This library is free software; you can redistribute it and/or
@@ -210,6 +210,8 @@ public class Vala.FormalParameter : Variable {
result.params_array = params_array;
result.direction = this.direction;
result.initializer = this.initializer;
+ result.no_array_length = this.no_array_length;
+ result.array_null_terminated = this.array_null_terminated;
return result;
} else {
return new FormalParameter.with_ellipsis ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]