[Python-checkins] r77581 - python/trunk/Include/bytearrayobject.h
antoine.pitrou
python-checkins at python.org
Sun Jan 17 16:55:46 CET 2010
Author: antoine.pitrou
Date: Sun Jan 17 16:55:45 2010
New Revision: 77581
Log:
Use PyAPI_DATA.
Modified:
python/trunk/Include/bytearrayobject.h
Modified: python/trunk/Include/bytearrayobject.h
==============================================================================
--- python/trunk/Include/bytearrayobject.h (original)
+++ python/trunk/Include/bytearrayobject.h Sun Jan 17 16:55:45 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