mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 17:32:55 +00:00
Add casts to work around missing extern "C" in Python headers.
[SVN r14735]
This commit is contained in:
@@ -298,8 +298,8 @@ extern "C"
|
||||
}
|
||||
|
||||
static PyGetSetDef function_getsetlist[] = {
|
||||
{"__name__", function_get_name, 0 },
|
||||
{"__doc__", function_get_doc, function_set_doc},
|
||||
{"__name__", (getter)function_get_name, 0 },
|
||||
{"__doc__", (getter)function_get_doc, (setter)function_set_doc},
|
||||
{NULL} /* Sentinel */
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user