2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Embed C++ objects directly in Python objects

[SVN r15192]
This commit is contained in:
Dave Abrahams
2002-09-07 04:44:17 +00:00
parent acbb5be6ab
commit 526d99f832
22 changed files with 375 additions and 212 deletions

View File

@@ -301,11 +301,11 @@ extern "C"
}
}
static PyGetSetDef function_getsetlist[] = {
{"__name__", (getter)function_get_name, 0 },
{"__doc__", (getter)function_get_doc, (setter)function_set_doc},
{NULL} /* Sentinel */
};
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)