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

Re: svn commit: propchange - rev 4700 svn:log

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-02-01 22:02:38 CET

On Sat, 2003-02-01 at 14:11, rooneg@tigris.org wrote:
> ok, i admit it, gstein was right. making the context object opaque was
> premature, and if it turns out we need to do so (for caching config options
> or something), we can always make part of it private (concealed behind a
> void pointer) later on.
>
> * subversion/include/svn_client.h
> (svn_client_ctx_t): make the definition of this struct public information,

If I understood the conversation right, Greg was arguing that the
context object should still be opaque to users of svn_client, just not
to the internals.

Also, opaqueness does not demand a null pointer. All you need is a
forward struct declaration ("struct foo;" or "typedef struct foo bar;"
as appropriate) in the public header file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Feb 1 22:03:18 2003

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.