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

Re: More error leaks

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-01-25 10:35:56 CET

[Julian Foad]
> +/** A declaration of the return type of a function that returns a
> Subversion
> + * error object.
> + *
> + * @since New in 1.4.
> + */
> +#define SVN_ERR_FUNC __attribute__((warn_unused_result)) svn_error_t *

If I had a vote, I would vote for:

   #define SVN_ERROR_T __attribute__((warn_unused_result)) svn_error_t

Then it's just a matter of replacing svn_error_t with SVN_ERROR_T.
That seems pretty readable to me.

Received on Wed Jan 25 10:36:37 2006

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