Re: [xml] xmlNodeListGetString



On Fri, Dec 20, 2002 at 03:03:24PM -0600, Kendrick Hamilton wrote:
Hi,
      I am using lib xml for a project we are working on. I was
wondering why xmlNodeListGetString does not have the prototype
      xmlChar *xmlNodeListGetString(const xmlDoc *, const xmlNode *,
              int);
I am interested mostly in the lack of const. This is an accessor method
the is only reading information, so why does it have to change the
document?

  Simply that I don't use const for struct pointers in signature,
no hidden meaning.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]