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

Another type issue.

From: <cmpilato_at_collab.net>
Date: 2001-02-26 19:14:30 CET

Karl and I are chatting about the FS function arguments of type 'char
*', specifically about how those aren't svn_string_t's. Is there any
compelling reason why these should *not* be svn_string_t's?

Karl sez that the svn_path utilities work best with svn_string_t's as
opposed to regular ol' "char-stars", yet we have a pretty strong
suspicion that those interfaces using the FS code would rather speak
native types as opposed to svn_string_t's. So, somewhere, someone has
to do conversions between to two types.

The conversion from svn_string_t to char * is trivial (string->data),
and the reverse isn't altogether painful either. But there are
differences between the two (read: "This is not another svn_boolean_t
discussion."), so some background and debate are encouraged.
Received on Sat Oct 21 14:36:23 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.