On Mon, 20 Jul 2015 22:09:33 +0100, Michael Drake wrote:
The nsurl_access function is purely a convenience to access an
internal
string that the caller does not own.
If you make a function which passes ownership of the string to the
caller, it should be in the style of nsurl_get and return an nserror.
Thanks for your comments. I've updated that function to return an
nserror. I haven't renamed it, as it always returns something very
similar to nsurl_access.
Chris