2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 21:12:15 +00:00

adjustment for IRIX CC; also tested with gcc 3.0.4, VC7, cxx 6.5

[SVN r15168]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2002-09-05 14:00:57 +00:00
parent 5cda0581cd
commit 9d520877d1

View File

@@ -299,13 +299,13 @@ extern "C"
else
return python::incref(f->name().ptr());
}
}
static PyGetSetDef function_getsetlist[] = {
{"__name__", (getter)function_get_name, 0 },
{"__doc__", (getter)function_get_doc, (setter)function_set_doc},
{NULL} /* Sentinel */
};
}
PyTypeObject function_type = {
PyObject_HEAD_INIT(0)