[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to format longish function call with very long single parameter?

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Tue, 08 Jan 2008 21:24:32 +0530

C. Michael Pilato wrote:
> Kamesh Jayachandran wrote:
>
>> Hi All,
>>
>> Consider the following example,
>>
>> SVN_ERR(svn_client_diff_summarize_peg2(target_url, &peg_revision,
>> &opt_revision1, &opt_revision2,
>> depth,
>> merge_b->ignore_ancestry,
>> get_diff_summary_func_cb,
>>
>> merge_b->reflective_rev_affected_paths,
>> merge_b->ctx,
>> iterpool));
>>
>> In this example we may get past the 79 character limit.
>>
>
> There are no shortage of uses like this in the codebase:
>
> SVN_ERR(svn_client_diff_summarize_peg2
> (target_url, &peg_revision,
> &opt_revision1, &opt_revision2,
> depth,
> merge_b->ignore_ancestry,
> get_diff_summary_func_cb,
> merge_b->reflective_rev_affected_paths,
> merge_b->ctx,
> iterpool));
>
> Also, you could shorted the name of the 'reflective_rev_affected_paths'
> variable.
>
>

Thanks Mike.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-01-08 16:54:50 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.