1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-04 01:47:02 +03:00

exports htmlNewParserCtxt() as Michael Day pointed out this is needed to

* HTMLparser.c include/libxml/HTMLparser.h: exports htmlNewParserCtxt()
  as Michael Day pointed out this is needed to use htmlCtxtRead*()
Daniel
This commit is contained in:
Daniel Veillard 2006-09-21 06:53:59 +00:00
parent 4a9fe385c7
commit 34c647cfae
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Sep 21 08:53:06 CEST 2006 Daniel Veillard <daniel@veillard.com>
* HTMLparser.c include/libxml/HTMLparser.h: exports htmlNewParserCtxt()
as Michael Day pointed out this is needed to use htmlCtxtRead*()
Tue Sep 19 14:42:59 CEST 2006 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from Ben Darnell on #321545, I could not

View File

@ -4261,10 +4261,10 @@ htmlFreeParserCtxt(htmlParserCtxtPtr ctxt)
*
* Allocate and initialize a new parser context.
*
* Returns the xmlParserCtxtPtr or NULL
* Returns the htmlParserCtxtPtr or NULL in case of allocation error
*/
static htmlParserCtxtPtr
htmlParserCtxtPtr
htmlNewParserCtxt(void)
{
xmlParserCtxtPtr ctxt;

View File

@ -105,6 +105,9 @@ XMLPUBFUN int XMLCALL
XMLPUBFUN void XMLCALL
htmlParseElement(htmlParserCtxtPtr ctxt);
XMLPUBFUN htmlParserCtxtPtr XMLCALL
htmlNewParserCtxt(void);
XMLPUBFUN htmlParserCtxtPtr XMLCALL
htmlCreateMemoryParserCtxt(const char *buffer,
int size);