bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347)

This commit is contained in:
Vinay Sajip 2019-10-15 08:26:12 +01:00 committed by GitHub
parent 4d202281c1
commit 0b60f64e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 132 additions and 35 deletions

View file

@ -1124,7 +1124,7 @@ static PyBufferProcs bytesiobuf_as_buffer = {
(releasebufferproc) bytesiobuf_releasebuffer,
};
PyTypeObject _PyBytesIOBuffer_Type = {
Py_EXPORTED_SYMBOL PyTypeObject _PyBytesIOBuffer_Type = {
PyVarObject_HEAD_INIT(NULL, 0)
"_io._BytesIOBuffer", /*tp_name*/
sizeof(bytesiobuf), /*tp_basicsize*/