mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
parser: Make xmlCtxtGetValidCtxt depend on VALID_ENABLED
This commit is contained in:
@@ -1461,8 +1461,10 @@ XMLPUBFUN int
|
||||
xmlCtxtIsHtml (xmlParserCtxtPtr ctxt);
|
||||
XMLPUBFUN int
|
||||
xmlCtxtIsStopped (xmlParserCtxtPtr ctxt);
|
||||
#ifdef LIBXML_VALID_ENABLED
|
||||
XMLPUBFUN xmlValidCtxtPtr
|
||||
xmlCtxtGetValidCtxt (xmlParserCtxtPtr ctxt);
|
||||
#endif
|
||||
XMLPUBFUN const xmlChar *
|
||||
xmlCtxtGetVersion (xmlParserCtxtPtr ctxt);
|
||||
XMLPUBFUN const xmlChar *
|
||||
|
@@ -3253,6 +3253,7 @@ xmlCtxtIsStopped(xmlParserCtxtPtr ctxt) {
|
||||
return(PARSER_STOPPED(ctxt));
|
||||
}
|
||||
|
||||
#ifdef LIBXML_VALID_ENABLED
|
||||
/**
|
||||
* xmlCtxtGetValidCtxt:
|
||||
* @ctxt: parser context
|
||||
@@ -3268,6 +3269,7 @@ xmlCtxtGetValidCtxt(xmlParserCtxtPtr ctxt) {
|
||||
|
||||
return(&ctxt->vctxt);
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
|
Reference in New Issue
Block a user