"_self" is a said to be a reserved word in Watcom C 10.6. I'm
not sure that's really standard compliant behaviour, but I guess we have to fix that anyway...
This commit is contained in:
parent
36f6d77931
commit
81707f1a8c
|
@ -1476,7 +1476,7 @@ treebuilder_new(void)
|
|||
}
|
||||
|
||||
static PyObject*
|
||||
treebuilder(PyObject* _self, PyObject* args)
|
||||
treebuilder(PyObject* self_, PyObject* args)
|
||||
{
|
||||
if (!PyArg_ParseTuple(args, ":TreeBuilder"))
|
||||
return NULL;
|
||||
|
@ -2201,7 +2201,7 @@ expat_unknown_encoding_handler(XMLParserObject *self, const XML_Char *name,
|
|||
/* constructor and destructor */
|
||||
|
||||
static PyObject*
|
||||
xmlparser(PyObject* _self, PyObject* args, PyObject* kw)
|
||||
xmlparser(PyObject* self_, PyObject* args, PyObject* kw)
|
||||
{
|
||||
XMLParserObject* self;
|
||||
/* FIXME: does this need to be static? */
|
||||
|
|
Loading…
Reference in New Issue