summaryrefslogtreecommitdiffstats
path: root/Include/pyexpat.h
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-06-01 08:32:34 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-06-01 08:32:34 (GMT)
commit2b6b73e7e1a9d13545bea9636936ce5d3e1a87df (patch)
tree821b6042eb5a92d2cbda4931dc4515b0fa3d4348 /Include/pyexpat.h
parent20d4174b3d211609c774bd0711dcbc1793f146aa (diff)
downloadcpython-2b6b73e7e1a9d13545bea9636936ce5d3e1a87df.zip
cpython-2b6b73e7e1a9d13545bea9636936ce5d3e1a87df.tar.gz
cpython-2b6b73e7e1a9d13545bea9636936ce5d3e1a87df.tar.bz2
Issue #14007: implement doctype() method calling in XMLParser of _elementtree.
Includes exposing a doctype handler from expat through pyexpat.
Diffstat (limited to 'Include/pyexpat.h')
-rw-r--r--Include/pyexpat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyexpat.h b/Include/pyexpat.h
index 5340ef5..168b5b2 100644
--- a/Include/pyexpat.h
+++ b/Include/pyexpat.h
@@ -43,6 +43,8 @@ struct PyExpat_CAPI
XML_Parser parser, XML_UnknownEncodingHandler handler,
void *encodingHandlerData);
void (*SetUserData)(XML_Parser parser, void *userData);
+ void (*SetStartDoctypeDeclHandler)(XML_Parser parser,
+ XML_StartDoctypeDeclHandler start);
/* always add new stuff to the end! */
};