~ubuntu-branches/ubuntu/quantal/vala/quantal

« back to all changes in this revision

Viewing changes to codegen/valadbusservermodule.vala

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-09-20 19:57:26 UTC
  • mfrom: (1.5.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100920195726-cbxb3q400aj1hoqr
Tags: 0.10.0-0ubuntu1
* New upstream release
* debian/patches/90_revert_use_new_gir_version.patch:
  - don't build with new GIR

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
                                var array_type = (ArrayType) param.variable_type;
221
221
 
222
222
                                for (int dim = 1; dim <= array_type.rank; dim++) {
223
 
                                        string length_cname = get_array_length_cname (param.name, dim);
 
223
                                        string length_cname = get_parameter_array_length_cname (param, dim);
224
224
 
225
225
                                        cdecl = new CCodeDeclaration ("int");
226
226
                                        cdecl.add_declarator (new CCodeVariableDeclarator (length_cname, new CCodeConstant ("0")));
495
495
                        if (param.variable_type is ArrayType) {
496
496
                                var array_type = (ArrayType) param.variable_type;
497
497
                                for (int dim = 1; dim <= array_type.rank; dim++) {
498
 
                                        function.add_parameter (new CCodeFormalParameter (get_array_length_cname (param.name, dim), "int"));
 
498
                                        function.add_parameter (new CCodeFormalParameter (get_parameter_array_length_cname (param, dim), "int"));
499
499
                                }
500
500
                        }
501
501
                }