Re: CVS update: subversion/subversion/libsvn_fs dag.h
Greg Stein <email@example.com> writes:
> On Thu, Feb 08, 2001 at 05:26:43PM -0000, firstname.lastname@example.org wrote:
> > +/* Return a new dag_node_t object referring to the same node as NODE,
> > + allocated in TRAIL->pool. */
> > +dag_node_t *svn_fs__dag_dup (dag_node_t *node,
> > + trail_t *trail);
> > +/* Return the filesystem containing NODE. */
> > +const svn_fs_t *svn_fs__dag_get_fs (dag_node_t *node);
> The parameters in the above two functions can/should be "const". But that
> svn_fs_t return value probably shouldn't. You wouldn't be able to pass the
> FS anywhere if you do that.
That `const svn_fs_t' was a cut-and-paste-o. Thanks.
I don't want the node arguments to be const, though. There's no
reason those functions shouldn't be permitted to change the contents
of the node for some internal reason if they please.
Received on Sat Oct 21 14:36:21 2006
This is an archived mail posted to the Subversion Dev