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

Re: svn commit: r18390 - trunk/subversion/include

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-02-12 16:27:12 CET

Julian Foad wrote:
> Peter N. Lundblad wrote:
>> On Tue, 7 Feb 2006 striker@tigris.org wrote:
>>
>>> --- trunk/subversion/include/svn_diff.h (original)
>>> +++ trunk/subversion/include/svn_diff.h Tue Feb 7 22:59:24 2006
>>> @@ -110,7 +110,10 @@
>>> svn_error_t *(*datasource_close)(void *diff_baton,
>>> svn_diff_datasource_e datasource);
>>>
>>> - /** Get the next "token" from the datasource of type @a datasource. */
>>> + /** Get the next "token" from the datasource of type @a datasource.
>>> + * Return a "token" in @a *token. Return a hash of "token" in @a *hash.
>>> + * Leave @a token and @a hash untouched when the datasource is exhausted.
>>
>> Really? I'd say "Set @a token to NULL and leave @a hash untouched
>> when...". That's how the implementation behaves. Fixing, if you don't
>> object.
>
> Please can you say what type of data is in the hash.

That was a bit curt of me. Of course I meant "Thank you very much for
improving the doc string thus far. As you're going to be changing it again, it
would be great if you would add some information about the types of the hash
keys and values." It sounds like the values are "void *token"; maybe the keys
are ... I dunno, line numbers?

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 12 16:27:34 2006

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.