@charris: The easy way is to use the compiler flags that make it so that
NPY_NO_EXPORT is the default and a no-op... this has come up a few times
but no-one has gotten the round tuits to fix it.

On Sat, Aug 10, 2013 at 5:30 PM, Charles Harris <notifications@github.com>wrote:

> In numpy/core/code_generators/numpy_api.py:
>
> > @@ -335,6 +335,8 @@
> >      'PyArray_MapIterSwapAxes':              293,
> >      'PyArray_MapIterArray':                 294,
> >      'PyArray_MapIterNext':                  295,
> > +     #end 1.7 API
> > +    'PyDataMem_NEW_ZERO':                   296,
>
> If the pointers in the exported interface PyArray_API are initialized
> during compilation/linking that works. In fact, it seems that most of the
> functions aren't exported. However it seems that all the functions
> statically linked in from npymath and npysort are exposed... I wonder how
> to fix that.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/numpy/numpy/pull/3590/files#r5697956>
> .
>