Author: Stefan H. Muller <[email protected]>
Branch: pypy-pyarray
Changeset: r66345:8a17098648b8
Date: 2013-08-08 18:16 +0200
http://bitbucket.org/pypy/pypy/changeset/8a17098648b8/

Log:    Declare PyArray_Type as extern.

diff --git a/pypy/module/cpyext/include/numpy/arrayobject.h 
b/pypy/module/cpyext/include/numpy/arrayobject.h
--- a/pypy/module/cpyext/include/numpy/arrayobject.h
+++ b/pypy/module/cpyext/include/numpy/arrayobject.h
@@ -18,7 +18,7 @@
 #define PyArrayObject PyObject
 #define PyArray_Descr PyObject
 
-//PyTypeObject PyArray_Type;
+extern PyTypeObject PyArray_Type;
 
 typedef unsigned char npy_bool;
 typedef unsigned char npy_uint8;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to