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

Re: svn_client_create_context returns error?

From: Ben Reser <ben_at_reser.org>
Date: 2004-01-13 20:03:43 CET

On Tue, Jan 13, 2004 at 08:28:47AM -0600, kfogel@collab.net wrote:
> Why does svn_client_create_context() return an error? Shouldn't it
> just return the context object directly, instead of by reference?
>
> Sorry if I missed some point made during the thread surrounding this.
> But, since it does return error, it would be nice if its doc string
> explained what the possible error conditions are. Although in the
> current implementation, there are none...

An argument was made that we might want to add something that failed in
the future to the function. Nobody countered. So I implemented it
with an svn_error_t return.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 13 20:04:20 2004

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