diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-17 15:55:45 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-17 15:55:45 (GMT) |
commit | 60ba2c8bf8d8457282232127fd13543af4956a3d (patch) | |
tree | 92c45749fe7f404364c2ccbb5142f11f9c813e57 | |
parent | 23df3d270d3572c43638d15b63684405b66887f7 (diff) | |
download | cpython-60ba2c8bf8d8457282232127fd13543af4956a3d.zip cpython-60ba2c8bf8d8457282232127fd13543af4956a3d.tar.gz cpython-60ba2c8bf8d8457282232127fd13543af4956a3d.tar.bz2 |
Use PyAPI_DATA.
-rw-r--r-- | Include/bytearrayobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t); 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 } |