2
0
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:
Dave Abrahams
2002-08-08 05:52:30 +00:00
parent bd0257cbe5
commit a3102b552c

View File

@@ -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 */
};
}