Kaydet (Commit) 81707f1a authored tarafından Fredrik Lundh's avatar Fredrik Lundh

"_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...
üst 36f6d779
......@@ -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? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment