Be more careful with the type of the xmlhandlersetter; it takes an

XML_Parser, which happens to be a pointer type, not an XML_Parser*.
This generated warnings when compiled with Expat 1.95.5, which no
longer defines XML_Parser to be void*.
This commit is contained in:
Fred Drake 2002-09-24 16:24:54 +00:00
parent 36c2bd8e34
commit 117ac85c4e
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ typedef struct {
static PyTypeObject Xmlparsetype;
typedef void (*xmlhandlersetter)(XML_Parser *self, void *meth);
typedef void (*xmlhandlersetter)(XML_Parser self, void *meth);
typedef void* xmlhandler;
struct HandlerInfo {