1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00

schemas: Make xmlSchemaDump depend on DEBUG_ENABLED

This commit is contained in:
Nick Wellnhofer 2025-02-22 21:06:34 +01:00
parent 6fc260760a
commit 7ae8e8ac7d
2 changed files with 4 additions and 4 deletions

View File

@ -172,11 +172,11 @@ XMLPUBFUN xmlSchemaPtr
xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
XMLPUBFUN void
xmlSchemaFree (xmlSchemaPtr schema);
#ifdef LIBXML_OUTPUT_ENABLED
#ifdef LIBXML_DEBUG_ENABLED
XMLPUBFUN void
xmlSchemaDump (FILE *output,
xmlSchemaPtr schema);
#endif /* LIBXML_OUTPUT_ENABLED */
#endif /* LIBXML_DEBUG_ENABLED */
/*
* Interfaces for validating
*/

View File

@ -4196,7 +4196,7 @@ xmlSchemaFree(xmlSchemaPtr schema)
* *
************************************************************************/
#ifdef LIBXML_OUTPUT_ENABLED
#ifdef LIBXML_DEBUG_ENABLED
static void
xmlSchemaTypeDump(xmlSchemaTypePtr type, FILE * output); /* forward */
@ -4569,7 +4569,7 @@ xmlSchemaDump(FILE * output, xmlSchemaPtr schema)
xmlHashScanFull(schema->elemDecl, xmlSchemaElementDump, output);
}
#endif /* LIBXML_OUTPUT_ENABLED */
#endif /* LIBXML_DEBUG_ENABLED */
/************************************************************************
* *