From: Antoine Pitrou Date: Sun, 17 Jan 2010 16:20:28 +0000 (+0000) Subject: Merged revisions 77583 via svnmerge from X-Git-Tag: v3.1.2rc1~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a426c302fbad355697d870fc102811ec2a3d614;p=python Merged revisions 77583 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77583 | antoine.pitrou | 2010-01-17 17:15:29 +0100 (dim., 17 janv. 2010) | 9 lines Merged revisions 77581 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines Use PyAPI_DATA. ........ ................ --- diff --git a/Include/bytearrayobject.h b/Include/bytearrayobject.h index 8702e5a834..e1281a628c 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 }