[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: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-12-29 09:15:48 CET

On Thu, Dec 28, 2006 at 11:51:57PM -0800, Daniel Rall wrote:
> I too prefer a pointer to an opaque type, since the pointer will
> always point to the same type. Declare the typedef in a public
> header, note it's private data, and define it in a private header.
>
> The couple lines the declaration takes doesn't cost us much in terms
> of additional complexity for users of our header files, and ought to
> leave us with a cleaner internal implementation.

+1. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 29 09:15:56 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.