[vala] Drop redundant struct declaration call
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] Drop redundant struct declaration call
- Date: Tue, 31 Mar 2009 11:54:13 -0400 (EDT)
commit fea06b956cbfb2d5d7ae430cc78cbf3579695016
Author: Jürg Billeter <j bitron ch>
Date: Tue Mar 31 17:51:45 2009 +0200
Drop redundant struct declaration call
---
gobject/valaccodemethodmodule.vala | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/gobject/valaccodemethodmodule.vala b/gobject/valaccodemethodmodule.vala
index ef06d37..2a2fd30 100644
--- a/gobject/valaccodemethodmodule.vala
+++ b/gobject/valaccodemethodmodule.vala
@@ -627,7 +627,6 @@ internal class Vala.CCodeMethodModule : CCodeStructModule {
// pass non-simple structs always by reference
if (param.parameter_type.data_type is Struct) {
var st = (Struct) param.parameter_type.data_type;
- generate_struct_declaration (st, decl_space);
if (!st.is_simple_type () && param.direction == ParameterDirection.IN) {
if (st.use_const) {
ctypename = "const " + ctypename;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]