~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to codegen/valaccodemethodcallmodule.vala

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-09-05 10:32:13 UTC
  • mfrom: (1.5.9 upstream) (28.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20100905103213-8nn88erk20o4wgm3
Tags: 0.9.8-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
493
493
                                        if (param.ctype != null) {
494
494
                                                cexpr = new CCodeCastExpression (cexpr, param.ctype);
495
495
                                        }
 
496
                                } else {
 
497
                                        cexpr = handle_struct_argument (null, arg, cexpr);
496
498
                                }
497
499
                                arg_pos = get_param_pos (param.cparameter_position, ellipsis);
498
500
                        } else {
499
501
                                // default argument position
 
502
                                cexpr = handle_struct_argument (null, arg, cexpr);
500
503
                                arg_pos = get_param_pos (i, ellipsis);
501
504
                        }
502
505