1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +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> 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 * 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. * 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) htmlNewParserCtxt(void)
{ {
xmlParserCtxtPtr ctxt; xmlParserCtxtPtr ctxt;

View File

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