Re: svn commit: r22885 - branches/merge-tracking/subversion/libsvn_fs_util
On Fri, Jan 05, 2007 at 05:05:27PM -0800, Daniel Rall wrote:
> > > Modified: branches/merge-tracking/subversion/libsvn_fs_util/merge-info-sqlite-index.c
> > > +/* The version number of the schema used to store the merge info index. */
> > > +#define MERGE_INFO_INDEX_SCHEMA_FORMAT 1
> > > +#define MERGE_INFO_INDEX_SCHEMA_FORMAT_STR "1"
> > I'm sure you could stringify the first to get the second, no need to
> > repeat the 1/"1".
> Sure. How do you suggest implementing this efficiently?
#define STR_(x) #x
#define STR(x) STR_(x)
#define MERGE_INFO_INDEX_SCHEMA_FORMAT 1
#define MERGE_INFO_INDEX_SCHEMA_FORMAT_STR STR(MERGE_INFO_INDEX_SCHEMA_FORMAT)
Probably not worth it after all. I forgot that you needed to indirect via
two other macros.
Received on Mon Jan 8 17:25:07 2007
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Dev