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

Re: svn_fs__parse_skel prototype question

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-12-03 20:10:01 CET

On Tue, 2002-12-03 at 13:23, Philip Martin wrote:
> I don't understand the comment about not using 'const char*' for DATA.
> If svn_fs__parse_skel is not going to change DATA then 'const char*'
> is exactly what is wanted, and making it const in no way constrains
> the callers.

The created skel will point into DATA, not a copy of it. Data pointed
to by skels can be modified. (I don't know if we ever do modify data
pointed to by skels, and I'd say our lives would be safer if skels were
immutable, but that's not how things are right now.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 3 20:17:06 2002

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