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

entities: Make xmlFreeEntity public

This commit is contained in:
Nick Wellnhofer 2023-10-06 10:43:38 +02:00
parent 97e99f4112
commit 713ded60ad
2 changed files with 3 additions and 1 deletions

View File

@ -113,7 +113,7 @@ xmlEntitiesWarn(xmlParserErrors code, const char *msg, const xmlChar *str1)
/*
* xmlFreeEntity : clean-up an entity record.
*/
static void
void
xmlFreeEntity(xmlEntityPtr entity)
{
xmlDictPtr dict = NULL;

View File

@ -85,6 +85,8 @@ XMLPUBFUN xmlEntityPtr
const xmlChar *ExternalID,
const xmlChar *SystemID,
const xmlChar *content);
XMLPUBFUN void
xmlFreeEntity (xmlEntityPtr entity);
XMLPUBFUN xmlEntityPtr
xmlAddDocEntity (xmlDocPtr doc,
const xmlChar *name,