commit | 60ba2c8bf8d8457282232127fd13543af4956a3d | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 17 15:55:45 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Jan 17 15:55:45 2010 +0000 |
tree | 92c45749fe7f404364c2ccbb5142f11f9c813e57 | |
parent | 23df3d270d3572c43638d15b63684405b66887f7 [diff] |
Use PyAPI_DATA.
diff --git a/Include/bytearrayobject.h b/Include/bytearrayobject.h index 8702e5a..e1281a6 100644 --- a/Include/bytearrayobject.h +++ b/Include/bytearrayobject.h
@@ -49,7 +49,7 @@ Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_bytes : _PyByteArray_empty_string) #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)),Py_SIZE(self)) -extern char _PyByteArray_empty_string[]; +PyAPI_DATA(char) _PyByteArray_empty_string[]; #ifdef __cplusplus }