1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-28 23:14:57 +03:00

Make xmlNewSAXParserCtx take a const sax handler

Also improve documentation.
This commit is contained in:
Nick Wellnhofer
2022-09-01 00:13:19 +02:00
parent ce8f3d1195
commit 65dc8a63ac
4 changed files with 14 additions and 10 deletions

View File

@@ -990,7 +990,8 @@ XMLPUBFUN int XMLCALL
XMLPUBFUN xmlParserCtxtPtr XMLCALL
xmlNewParserCtxt (void);
XMLPUBFUN xmlParserCtxtPtr XMLCALL
xmlNewSAXParserCtxt (xmlSAXHandlerPtr sax, void *userData);
xmlNewSAXParserCtxt (const xmlSAXHandler *sax,
void *userData);
XMLPUBFUN int XMLCALL
xmlInitParserCtxt (xmlParserCtxtPtr ctxt);
XMLPUBFUN void XMLCALL