diff options
author | Mike Hommey <glandium@debian.org> | 2009-03-01 10:54:34 +0100 |
---|---|---|
committer | Mike Hommey <glandium@debian.org> | 2009-03-01 10:54:34 +0100 |
commit | 0c1d871e4c5e46a2945cccb2ce765f9be2fe01fb (patch) | |
tree | 982382b30eb118c65e1a06b25757dac5c3c69b8d /HTMLtree.c | |
parent | d03a853bb0370d89552eceee59df1746da4a37f8 (diff) | |
download | libxml2-0c1d871e4c5e46a2945cccb2ce765f9be2fe01fb.tar.gz |
Import upstream version 2.7.1upstream/2.7.1.dfsg
Diffstat (limited to 'HTMLtree.c')
-rw-r--r-- | HTMLtree.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -316,6 +316,11 @@ htmlIsBooleanAttr(const xmlChar *name) } #ifdef LIBXML_OUTPUT_ENABLED +/* + * private routine exported from xmlIO.c + */ +xmlOutputBufferPtr +xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder); /************************************************************************ * * * Output error handlers * @@ -566,7 +571,7 @@ htmlDocDumpMemoryFormat(xmlDocPtr cur, xmlChar**mem, int *size, int format) { if (handler == NULL) handler = xmlFindCharEncodingHandler("ascii"); - buf = xmlAllocOutputBuffer(handler); + buf = xmlAllocOutputBufferInternal(handler); if (buf == NULL) { *mem = NULL; *size = 0; |