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:
parent
36c2bd8e34
commit
117ac85c4e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue