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

RE: Hide internal data in svn_wc_entry_t struct

From: Madan U S <madan_at_collab.net>
Date: 2006-12-28 11:15:46 CET

> -----Original Message-----
> From: Malcolm Rowe [mailto:malcolm-svn-dev@farside.org.uk]
> Sent: Thu 12/28/2006 3:11 PM
> To: Madan U S
> Cc: Ivan Zhakov; svn-dev
> Subject: Re: Hide internal data in svn_wc_entry_t struct
>
> On Thu, Dec 28, 2006 at 02:24:18PM +0530, Madan U S wrote:
> > > Do you mean use name "baton" or use baton syntax with "void *"?
> >
> > Both.
> >
> > void, because, introducing svn_wc_entry_private_t still leaves space for ABI revving, when we have svn_wc_entry_private2_t.
> >
> > the word 'baton' because this would mean wc specific baton containing wc specific information... and the term is pretty well-known in > svn-dev-land.
> >
>
> Batons are usually provided by the caller, not the library. They're
> handed back to a callback, hence the name.

Well said! But I have a question here. Digging a bit deeper, could the 'caller' be a library itself?

Regards,
Madan.
Received on Thu Dec 28 11:18:01 2006

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