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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user