mirror of
https://github.com/python/cpython.git
synced 2026-03-06 04:50:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue