New URL handling

Michael Drake tlsa at netsurf-browser.org
Thu Sep 22 21:39:03 BST 2011


In article <S216422cb9tlsa at netsurf-browser.org>,
   Michael Drake <tlsa at netsurf-browser.org> wrote:

> Currently to get a url as a string, you have to call nsurl_get which
> allocates space for and builds a new url string from components.
> Perhaps we could keep a copy of the full url inside the nsurl and return
> a pointer to it.

This functionality is now available via nsurl_access.

> Probably need to look at how nsurl object copying works.  I think
> perhaps making a nsurl_ref and replacing nsurl_destroy with nsurl_unref
> would be best.

This has been done.

-- 

Michael Drake (tlsa)                  http://www.netsurf-browser.org/



More information about the netsurf-dev mailing list