Re: [xml] xmlNodeListGetString

On Fri, Dec 20, 2002 at 06:53:44PM -0500, Rich Salz wrote:
  Simply that I don't use const for struct pointers in signature,
no hidden meaning.

That's interesting.

  Why ?


  Because the mental representation in term of register, stack usage
etc. that I have of a C function call do not integrate that property,
for those structure, so I don't reflect it at the code level.
  I also have seen hard to track bugs because of const use in the past
for complex structures and I don't even want to take the risk of a
possible compiler bug.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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