[xml] Make xmlSAXHandler const



Patch. Added const qualifiers in the parser where functions take an
xmlSAXHandler. This works since the parser doesn't need to change it, and
helps some people by putting their xmlSAXHandler instances in read-only
memory. Does not break existing uses of API. Simple patch follows.

Kind regards,
Vegard Nossum

Attachment: libxml2-2.6.26-const.patch
Description: Text Data



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