[Python-checkins] r77582 - in python/branches/release26-maint: Include/bytearrayobject.h
antoine.pitrou
python-checkins at python.org
Sun Jan 17 17:06:27 CET 2010
Author: antoine.pitrou
Date: Sun Jan 17 17:06:27 2010
New Revision: 77582
Log:
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.
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Include/bytearrayobject.h
Modified: python/branches/release26-maint/Include/bytearrayobject.h
==============================================================================
--- python/branches/release26-maint/Include/bytearrayobject.h (original)
+++ python/branches/release26-maint/Include/bytearrayobject.h Sun Jan 17 17:06:27 2010
@@ -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
}
More information about the Python-checkins
mailing list