Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r69977:0e3e28702d34 Date: 2014-03-16 00:55 +0200 http://bitbucket.org/pypy/pypy/changeset/0e3e28702d34/
Log: a more generic extern declaration 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 @@ -20,7 +20,7 @@ #define PyArrayObject PyObject #define PyArray_Descr PyObject -extern PyTypeObject PyArray_Type; +PyAPI_DATA(PyTypeObject) PyArray_Type; typedef unsigned char npy_bool; typedef unsigned char npy_uint8; _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit